Skip to content
GitLab
Menu
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
39f0d0b4
Commit
39f0d0b4
authored
Nov 22, 2002
by
Mac Newbold
Browse files
Make sure to reset the PXE path if they choose a normal (non-pxebooting) OS.
parent
661fc57a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/os_select.in
View file @
39f0d0b4
...
...
@@ -143,8 +143,10 @@ foreach $n (@nodes) {
my
$curmode
=
node_opmode
(
$n
);
if
(
!
$curmode
)
{
next
;
}
debug
("
Current opmode for node '
$n
' is '
$curmode
'.
\n
");
if
(
$mfs
)
{
set_pxe_path
(
$n
);
}
else
{
set_boot_osid
(
$n
);
}
# Always set the pxe_boot_path (to the osid in mfs mode, else PXEBOOT)
set_pxe_path
(
$n
);
# Only do the boot osid if we're not in mfs mode
if
(
!
$mfs
)
{
set_boot_osid
(
$n
);
}
my
$boot
=
TBBootWhat
(
$n
);
if
(
!
$boot
)
{
fatal
("
***Bootwhat query failed. Contact testbed-ops.
\n
");
}
debug
("
Bootwhat says:
$n
=>
$boot
\n
");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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