Commit 5bbd4e03 authored by Mike Hibler's avatar Mike Hibler

Warn if pxeboot path chosen does not exist.

parent e48f3a05
......@@ -133,6 +133,16 @@ if ($UID && !TBAdmin($UID)) {
}
}
#
# Warn them if the path doesn't actually exist.
#
# XXX this is not fatal because we overload the pathname to encode "special"
# boot information like pxelinux configs in some cases.
#
if ($pxebootpath && ! -e "$pxebootpath") {
print STDERR "WARNING: '$pxebootpath' does not exist\n";
}
my $changed = 0;
foreach my $node (@nodes) {
my $nodeobject = Node->Lookup($node);
......
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