Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
dd5e82cd
Commit
dd5e82cd
authored
Feb 27, 2017
by
Mike Hibler
Browse files
Need to persist the setting of "ishvm".
parent
3dc5c9c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/mkvnode.pl
View file @
dd5e82cd
#!/usr/bin/perl -w
#
# Copyright (c) 2009-201
6
University of Utah and the Flux Group.
# Copyright (c) 2009-201
7
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
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment