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($;$)
# XXX how we identify the frisbee MFS
if ($path =~ /frisbee/) {
$action = "mfsboot";
} elsif ($path =~ /recovery/) {
$action = "recovery";
} else {
$action = "nfsboot";
}
......
#!/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
#
......@@ -95,7 +95,7 @@ if (defined($options{"d"})) {
$debug = 1;
}
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;
} else {
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