#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
ZONENAME=$1
ZONEPATH=$2
f_old_image_fail=$(gettext "Cannot boot zone. The system was unable to verify that zone doesn't contain old and incompatible packages. Please perform a zoneadm(1m) detach followed by attach -u or attach -U to attempt to update the packages within the zone.")
f_audit_fail=$(gettext "Cannot boot zone. The system was unable to verify that the packages installed in the zone are in sync with the global zone. Please perform a zoneadm(1m) detach followed by attach -u or attach -U to attempt to update the packages within the zone.")
eval $(bind_legacy_zone_globals zone)
if [[ $? -ne 0 ]]; then
fi
#
# this is really gross. before we bother to audit the image we need to
# verify that the image isn't really old (pre snv_168). to make the
# introduced in snv_170).
#
# audit the image to make sure it's in sync with the global zone
vlog "Running '%s'" "${cmd[*]}"
#
# Run cluster hook
#
if [[ $? -ne 0 ]]; then
fi
exit $ZONE_SUBPROC_OK