summaryrefslogtreecommitdiff
path: root/usr/src/lib/libzonecfg/common/getzoneent.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2011-11-29 22:45:10 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2011-11-29 22:45:10 +0000
commitbbacc99d6db5da478c24df5988aa82637558c70c (patch)
tree1c956babdc1064c5df500e5d75892b731cf4ee8f /usr/src/lib/libzonecfg/common/getzoneent.c
parentfe4544a07ecfec61ad99750ed9970948223677db (diff)
downloadillumos-joyent-bbacc99d6db5da478c24df5988aa82637558c70c.tar.gz
OS-771 Change behavior of zonecfg to allow zones to always have a UUID, ideally this UUID should stay with the zone until the zone is destroyed
Diffstat (limited to 'usr/src/lib/libzonecfg/common/getzoneent.c')
-rw-r--r--usr/src/lib/libzonecfg/common/getzoneent.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/src/lib/libzonecfg/common/getzoneent.c b/usr/src/lib/libzonecfg/common/getzoneent.c
index 76cc918553..76664fcc92 100644
--- a/usr/src/lib/libzonecfg/common/getzoneent.c
+++ b/usr/src/lib/libzonecfg/common/getzoneent.c
@@ -403,14 +403,6 @@ putzoneent(struct zoneent *ze, zoneent_op_t operation)
*/
if (ze->zone_state >= 0) {
zone_state = zone_state_str(ze->zone_state);
-
- /*
- * If the caller is uninstalling this zone,
- * then wipe out the uuid. The zone's contents
- * are no longer known.
- */
- if (ze->zone_state < ZONE_STATE_INSTALLED)
- zone_uuid = "";
}
/* If a new name is supplied, use it. */