summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/BootEnvironment/PXE.pm
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-03-10 17:35:44 +0100
committerSebastian Schmelzer2009-03-10 17:35:44 +0100
commit5ca7a72e990cd40f50341986bfc832eb25820a93 (patch)
tree9a02ef210db2d882b4d95a8f6d606a4b4ea8a714 /boot-env/OpenSLX/BootEnvironment/PXE.pm
parentChanging the default behaviour of unionfs/aufs usage: (diff)
downloadcore-5ca7a72e990cd40f50341986bfc832eb25820a93.tar.gz
core-5ca7a72e990cd40f50341986bfc832eb25820a93.tar.xz
core-5ca7a72e990cd40f50341986bfc832eb25820a93.zip
* get rid of "uninitialized value in pattern match" warning
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2708 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/BootEnvironment/PXE.pm')
-rw-r--r--boot-env/OpenSLX/BootEnvironment/PXE.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot-env/OpenSLX/BootEnvironment/PXE.pm b/boot-env/OpenSLX/BootEnvironment/PXE.pm
index f3c20e19..7ab52912 100644
--- a/boot-env/OpenSLX/BootEnvironment/PXE.pm
+++ b/boot-env/OpenSLX/BootEnvironment/PXE.pm
@@ -85,6 +85,7 @@ sub writeBootloaderMenuFor
my $append = $info->{attrs}->{kernel_params};
my $pxePrefix = '';
my $tftpPrefix = '';
+ $info->{'pxe_prefix_ip'} ||= '';
# pxe_prefix_ip set and looks like a ip
if ($info->{'pxe_prefix_ip'} =~ m/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/) {