Print this page
2594 implement graceful shutdown for local zones in zoneadm

@@ -21,10 +21,11 @@
  CDDL HEADER END
 
  Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 
  DO NOT EDIT THIS FILE.
+ Copyright 2014 Nexenta Systems, Inc. All rights reserved.
 -->
 
 <!DOCTYPE brand PUBLIC "-//Sun Microsystems Inc//DTD Brands//EN"
     "file:///usr/share/lib/xml/dtd/brand.dtd.1">
 

@@ -38,10 +39,11 @@
         <install>/usr/lib/brand/solaris10/image_install %z %R</install>
         <installopts>a:d:Fpsuv</installopts>
         <boot>/usr/lib/brand/solaris10/s10_boot %z %R</boot>
         <sysboot>/usr/lib/brand/solaris10/prestate %z %R 2 0</sysboot>
         <halt></halt>
+        <shutdown>/usr/sbin/shutdown -y -g0 -i5</shutdown>
         <verify_cfg>/usr/lib/brand/solaris10/s10_support verify</verify_cfg>
         <verify_adm></verify_adm>
         <postattach>/usr/lib/brand/solaris10/postattach %z %R</postattach>
         <attach>/usr/lib/brand/solaris10/attach %z %R</attach>
         <detach>/usr/lib/brand/solaris10/detach %z %R</detach>