From: Thierry Parmentelat Date: Tue, 23 Jun 2015 09:12:02 +0000 (+0200) Subject: offer the option to set node in 'upgrade' boot_mode X-Git-Tag: plewww-5.2-6~1 X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=commitdiff_plain;h=75319539bcac22d71324c0e007b13437b313b080 offer the option to set node in 'upgrade' boot_mode --- diff --git a/planetlab/nodes/node.php b/planetlab/nodes/node.php index f457121..220f508 100644 --- a/planetlab/nodes/node.php +++ b/planetlab/nodes/node.php @@ -312,7 +312,8 @@ if ( ! ($local_peer && $privileges)) { "action"=>"node-boot-state")); $boot_value .= $boot_form->start_html(); $states = array( 'boot'=>'Boot', 'safeboot'=>'SafeBoot', - 'disabled' => 'Disabled', 'reinstall'=>'Reinstall'); + 'disabled' => 'Disabled', 'reinstall'=>'Reinstall', + 'upgrade' => 'Upgrade'); $selectors=array(); foreach ($states as $dbname=>$displayname) { $selector=array("display"=>$displayname, "value"=>$dbname);