File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -510,3 +510,4 @@ da5d68806e4acacc7259e6a1dc6a07b9232e3443 st190
51051070a84568ef49b6974148640d973599088d2cb580 st200
511511fa6fc60a9d8ab4981317c5be18e47b28868691e5 st201
512512fa6fc60a9d8ab4981317c5be18e47b28868691e5 11.4.84.0.1.201.0
513+ 4aa2fc1df7c1cf43786bcb1d7a75fea721f9864e st202
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def start():
9292 message = 'Invalid configuration: config/auto-reboot = true ' + \
9393 'with config/activate-new-be = false'
9494 smf_include .smf_method_exit (smf_include .SMF_EXIT_ERR_CONFIG ,
95- 'invalid configuration' , message )
95+ 'invalid- configuration' , message )
9696 cmd .append ('--no-be-activate' )
9797
9898 # Add any extra args that should be passed to pkg, eg for verbose output
@@ -157,9 +157,13 @@ def start():
157157 print ('Running reboot-check-hook {0}' .format (reboot_hook ))
158158 exitcode , output = subprocess .getstatusoutput (reboot_hook )
159159 if exitcode != 0 :
160- print ( 'reboot-check-hook failed' )
160+ message = f'Reboot Hook failed { exitcode } , see service log'
161161 smf_include .smf_method_exit (smf_include .SMF_EXIT_DEGRADED ,
162- 'reboot-check-hook failed' , output )
162+ 'reboot-check-hook-failed' ,
163+ message )
164+ print ('Reboot hook output follows:' )
165+ print (output )
166+
163167 print ('Reboot after auto update' )
164168 msg = myfmri + ' : automatic reboot after update'
165169 try :
You can’t perform that action at this time.
0 commit comments