Commit d1fef708 authored by David Johnson's avatar David Johnson

Add recovery mfs options in the pxelinux boot path.

parent 596dcdb4
...@@ -578,6 +578,8 @@ sub TBPxelinuxConfig($;$) ...@@ -578,6 +578,8 @@ sub TBPxelinuxConfig($;$)
# XXX how we identify the frisbee MFS # XXX how we identify the frisbee MFS
if ($path =~ /frisbee/) { if ($path =~ /frisbee/) {
$action = "mfsboot"; $action = "mfsboot";
} elsif ($path =~ /recovery/) {
$action = "recovery";
} else { } else {
$action = "nfsboot"; $action = "nfsboot";
} }
......
#!/usr/bin/perl -w #!/usr/bin/perl -w
# #
# Copyright (c) 2014 University of Utah and the Flux Group. # Copyright (c) 2014, 2019 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -95,7 +95,7 @@ if (defined($options{"d"})) { ...@@ -95,7 +95,7 @@ if (defined($options{"d"})) {
$debug = 1; $debug = 1;
} }
if (defined($options{"a"})) { if (defined($options{"a"})) {
if ($options{"a"} =~ /^(diskboot|mfsboot|nfsboot|pxewait|pxefail|default)$/) { if ($options{"a"} =~ /^(diskboot|mfsboot|nfsboot|pxewait|pxefail|default|recovery)$/) {
$action = $1; $action = $1;
} else { } else {
usage(); usage();
......
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