Commit 9d4b17d7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Switch from next_boot_path to new database field def_boot_path.

parent bfb4a404
......@@ -214,7 +214,7 @@ foreach my $node ( keys %nodeos ) {
#
print STDERR "Changing default OS for $pc to $os:$path\n";
$sth = $DB->query("update nodes set ".
"def_boot_image_id='$os',next_boot_path='$path' ".
"def_boot_image_id='$os',def_boot_path='$path' ".
"where node_id='$pc'");
if ($sth == 0) {
die("Database update failed. Aborted...\n");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment