Module for Solaris 10's zoneadm
Jorge Schrauwen <sjorge@blackdot.be>
new
OmniOS,OpenIndiana,SmartOS,OpenSolaris,Solaris 10
New in version 2017.7.0.
Warning
Oracle Solaris 11's zoneadm is not supported by this module!
Attach the specified zone.
name of the zone
force the zone into the "installed" state with no validation
brand specific options to pass
CLI Example:
salt '*' zoneadm.attach lawrence
salt '*' zoneadm.attach lawrence True
Boot (or activate) the specified zone.
name or uuid of the zone
boots only to milestone svc:/milestone/single-user:default.
valid path to an alternative executable to be the primordial process.
include two categories of options to control booting behavior of the service management facility: recovery options and messages options.
CLI Example:
salt '*' zoneadm.boot clementine
salt '*' zoneadm.boot maeve single=True
salt '*' zoneadm.boot teddy single=True smf_options=verbose
Install a zone by copying an existing installed zone.
name of the zone
zone to clone from
optional name of snapshot to use as source
CLI Example:
salt '*' zoneadm.clone clementine dolores
Detach the specified zone.
name or uuid of the zone
CLI Example:
salt '*' zoneadm.detach kissy
Halt the specified zone.
name or uuid of the zone
Note
To cleanly shutdown the zone use the shutdown function.
CLI Example:
salt '*' zoneadm.halt hector
Install the specified zone from the system.
name of the zone
do not create a ZFS file system
brand specific options to pass
CLI Example:
salt '*' zoneadm.install dolores
salt '*' zoneadm.install teddy True
List all zones
display additional zone information
include installed zones in output
include configured zones in output
do not include global zone
CLI Example:
salt '*' zoneadm.list
Move zone to new zonepath.
name or uuid of the zone
new zonepath
CLI Example:
salt '*' zoneadm.move meave /sweetwater/meave
Prepares a zone for running applications.
name or uuid of the zone
CLI Example:
salt '*' zoneadm.ready clementine
Restart the zone. This is equivalent to a halt boot sequence.
name or uuid of the zone
boots only to milestone svc:/milestone/single-user:default.
valid path to an alternative executable to be the primordial process.
include two categories of options to control booting behavior of the service management facility: recovery options and messages options.
CLI Example:
salt '*' zoneadm.reboot dolores
salt '*' zoneadm.reboot teddy single=True
Gracefully shutdown the specified zone.
name or uuid of the zone
reboot zone after shutdown (equivalent of shutdown -i6 -g0 -y)
boots only to milestone svc:/milestone/single-user:default.
valid path to an alternative executable to be the primordial process.
include two categories of options to control booting behavior of the service management facility: recovery options and messages options.
CLI Example:
salt '*' zoneadm.shutdown peter
salt '*' zoneadm.shutdown armistice reboot=True
Uninstall the specified zone from the system.
name or uuid of the zone
Warning
The -F flag is always used to avoid the prompts when uninstalling.
CLI Example:
salt '*' zoneadm.uninstall teddy
Check to make sure the configuration of the specified zone can safely be installed on the machine.
name of the zone
CLI Example:
salt '*' zoneadm.verify dolores