Commit a9d3d50a authored by Leigh Stoller's avatar Leigh Stoller

Fix for VGAONLY; the frisbee mfs is looking in /etc/testbed, not

/etc/emulab. So stick the isvgaonly file in both places!
parent 93242b9e
......@@ -248,9 +248,20 @@ sub LocalizeBSD()
# We should have a more general way to set the console on a per
# node basis.
#
if ($MFSCONSOLE eq "vga" &&
ExecQuiet("$CP /dev/null $mpoint/etc/emulab/isvgaonly")) {
goto bad;
if ($MFSCONSOLE eq "vga") {
ExecQuiet("$CP /dev/null $mpoint/etc/emulab/isvgaonly") == 0
or goto bad;
# Fix for a paths.sh messup on the MFS.
if (-e "$mpoint/etc/testbed" &&
ExecQuiet("$CP /dev/null $mpoint/etc/testbed/isvgaonly")) {
goto bad;
}
}
else {
unlink("$mpoint/etc/emulab/isvgaonly")
if (-e "$mpoint/etc/emulab/isvgaonly");
unlink("$mpoint/etc/testbed/isvgaonly")
if (-e "$mpoint/etc/testbed/isvgaonly");
}
#
......
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