#!/bin/ksh -p # # # # # # # # # # # # # # # # # # # # # # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. # . /usr/lib/brand/shared/common.ksh m_not_supported=$(gettext "Platform does not support the kernel-zone brand.\n") kz=$(/usr/sbin/virtinfo -c supported list -Ho class kernel-zone 2>/dev/null) if [[ $kz != "supported" ]]; then log "$m_not_supported" exit $ZONE_SUBPROC_TRYAGAIN fi # # Run cluster hook # call_cluster_hook verify_adm "$@" || exit $? exit $ZONE_SUBPROC_OK