#!/bin/ksh -p # # # # # # # # # # # # # # # # # # # # # # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. # . /usr/lib/brand/solaris/common.ksh typeset zone init_zone zone "$1" "$2" || { error "Usage: %s zone zonepath" "$0" exit $ZONE_SUBPROC_USAGE } # Mount the active boot environment on the zoneroot. mount_active_be -c zone || fail_unavailable "$f_mount_active_be" mark_orphan_zbes zone enable_zones_services || exit $ZONE_SUBPROC_TRYAGAIN exit $ZONE_SUBPROC_OK