diff options
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/page.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/page.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php index 9f8aa431..150796a5 100644 --- a/modules-available/serversetup-bwlp-ipxe/page.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php @@ -306,6 +306,10 @@ class Page_ServerSetup extends Page } if (empty($bootentryTable)) { + if (Property::getServerIp() === false || Property::getServerIp() === 'invalid') { + Message::addError('no-ip-set'); + Util::redirect('?do=serversetup&show=address'); + } IPxe::importLegacyMenu(true); $num = IPxe::importSubnetPxeMenus('/srv/openslx/tftp/pxelinux.cfg'); if ($num > 0) { |