Commit dd5e82cd authored by Mike Hibler's avatar Mike Hibler
Browse files

Need to persist the setting of "ishvm".

parent 3dc5c9c4
#!/usr/bin/perl -w
#
# Copyright (c) 2009-2016 University of Utah and the Flux Group.
# Copyright (c) 2009-2017 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -653,6 +653,8 @@ else {
if (exists($tmp->{'os'}));
$vnstate->{'private'}->{'rootpartition'} = $tmp->{'rootpartition'}
if (exists($tmp->{'rootpartition'}));
$vnstate->{'private'}->{'ishvm'} = $tmp->{'ishvm'}
if (exists($tmp->{'ishvm'}));
}
}
}
......@@ -665,6 +667,8 @@ $vnstate->{'os'} = $vnstate->{'private'}->{'os'}
if (exists($vnstate->{'private'}->{'os'}));
$vnstate->{'rootpartition'} = $vnstate->{'private'}->{'rootpartition'}
if (exists($vnstate->{'private'}->{'rootpartition'}));
$vnstate->{'ishvm'} = $vnstate->{'private'}->{'ishvm'}
if (exists($vnstate->{'private'}->{'ishvm'}));
# Store the state to disk.
if (StoreState()) {
......
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