#NEWLINE# def reboot_to_instance( self , task , **kwargs ) : #NEWLINE# #INDENT# node = task . node #NEWLINE# LOG . debug ( 'Preparing to reboot to instance for node %s' , node . uuid ) #NEWLINE# error = self . check_deploy_success ( node ) #NEWLINE# if ( error is None ) : #NEWLINE# #INDENT# ilo_common . update_boot_mode ( task ) #NEWLINE# ilo_common . update_secure_boot_mode ( self , True ) #NEWLINE# #UNINDENT# super ( IloVirtualMediaAgentVendorInterface , self ) . reboot_to_instance ( task , ** kwargs )