--- a/src/modules/client/api.py Mon Apr 26 14:41:56 2010 +0100
+++ b/src/modules/client/api.py Tue Apr 27 08:08:43 2010 +0100
@@ -2725,6 +2725,13 @@
if pfmri:
break
+ @property
+ def reboot_needed(self):
+ """A boolean value indicating that execution of the plan will
+ require a restart of the system to take effect if the target
+ image is an existing boot environment."""
+ return self.__plan.reboot_needed()
+
def image_create(pkg_client_name, version_id, root, imgtype, is_zone,
cancel_state_callable=None, facets=misc.EmptyDict, force=False,
mirrors=misc.EmptyI, origins=misc.EmptyI, prefix=None, refresh_allowed=True,