Hey all,

I'd like to make this change to the linked image code, to support a coming brand name:


diff --git a/src/modules/client/linkedimage/zone.py b/src/modules/client/linkedimage/zone.py
--- a/src/modules/client/linkedimage/zone.py
+++ b/src/modules/client/linkedimage/zone.py
@@ -396,7 +396,7 @@
                 # W0511 XXX / FIXME Comments; pylint: disable-msg=W0511
                 # XXX: don't hard code brand names, use a brand attribute
                 # pylint: enable-msg=W0511
-                if z_brand not in ["ipkg", "sn1", "labeled"]:
+                if z_brand not in ["ipkg", "solaris", "sn1", "labeled"]:
                         continue

                 # we only care about zones that have been installed

-Steve

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to