diff options
author | Sebastian Schmelzer | 2009-03-10 17:35:44 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2009-03-10 17:35:44 +0100 |
commit | 5ca7a72e990cd40f50341986bfc832eb25820a93 (patch) | |
tree | 9a02ef210db2d882b4d95a8f6d606a4b4ea8a714 | |
parent | Changing the default behaviour of unionfs/aufs usage: (diff) | |
download | core-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
-rw-r--r-- | boot-env/OpenSLX/BootEnvironment/PXE.pm | 1 |
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}/) { |