Commit c9743994 authored by Mike Hibler's avatar Mike Hibler

Set the prepare flag when calling os_load.

We want to make sure that old MBR, superblocks, etc. are cleaned from the disk
before attempting to load the default image.
parent f261559d
......@@ -277,6 +277,7 @@ while (1) {
$reload_args{'debug'} = $debug;
$reload_args{'waitmode'} = 2; # XXX Wait till reboot after reload.
$reload_args{'prepare'} = 1; # XXX Clear out old disk metadata.
$reload_args{'nodelist'} = [ @nodenames ];
logit("Running osload on @nodenames", 0);
my $failures = osload(\%reload_args, \%reload_results);
Markdown is supported
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