From f08db1f30879c4235fa4790518d31babe876ead4 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 25 Jul 2017 13:40:27 +0200 Subject: [PATCH] TT#19347 Move NGCP install option before Debian install options This is Sipwise NGCP install CD. NGCP install options must be on top (right after 'Rescue system boot'). Change-Id: Ie33e06e17f86bcb5633bed7c59bcd9a266201645 --- templates/boot/grub/grub.cfg | 126 +++++----- templates/boot/isolinux/isolinux.cfg | 335 ++++++++++++++------------- 2 files changed, 231 insertions(+), 230 deletions(-) diff --git a/templates/boot/grub/grub.cfg b/templates/boot/grub/grub.cfg index fa40ed3..0444d25 100644 --- a/templates/boot/grub/grub.cfg +++ b/templates/boot/grub/grub.cfg @@ -10,169 +10,169 @@ menuentry "Rescue system boot (%VERSION%)" { initrd /boot/%SHORT_NAME%/initrd.img } -## submenus -submenu "Install Debian ... ->" --class=submenu { +submenu "Specific sip:providerCE releases ... ->" --class=submenu { -menuentry "Install Debian/stretch 64bit - DHCP" { +menuentry "sip:providerCE (DHCP) - trunk version" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk ngcpnw.dhcp echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/stretch 64bit - static NW" { +menuentry "sip:providerCE (static NW) - trunk version" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:spce:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/stretch 64bit - Puppet" { +source /boot/grub/sipwise_ce.cfg + +} # Specific sip:providerCE releases ... + +## begin of PRO menu {{{ +submenu "Specific sip:providerPRO releases ... ->" --class=submenu { + +menuentry "sip:providerPRO - sp1 / trunk release" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/jessie 64bit - DHCP" { +menuentry "sip:providerPRO - sp2 / trunk release" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.102::10.15.20.1:255.255.255.0:sp2:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/jessie 64bit - static NW" { +menuentry "sip:providerPRO - sp1 DHCP/ trunk release" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/jessie 64bit - Puppet" { +menuentry "sip:providerPRO - sp2 DHCP/ trunk release" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk ngcpnw.dhcp echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/wheezy 64bit - DHCP" { +source /boot/grub/sipwise_pro.cfg + +} # Specific sip:providerPRO releases + +## begin of Carrier menu {{{ +submenu "Specific sip:Carrier releases ... ->" --class=submenu { + +menuentry "sip:Carrier mgmt (web01a) DHCP / trunk" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcpfillcache ngcpnw.dhcp ngcptrunk ngcpcrole=mgmt ngcpnonwrecfg ngcphostname=web01a echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/wheezy 64bit - static NW" { +menuentry "sip:Carrier mgmt (web01a) / trunk" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcpfillcache ngcpnonwrecfg dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off ngcptrunk ngcpcrole=mgmt ngcphostname=web01a echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/wheezy 64bit - Puppet" { +source /boot/grub/sipwise_carrier.cfg + +} # Specific sip:providerCarrier 3.x releases + +## submenus +submenu "Install Debian ... ->" --class=submenu { + +menuentry "Install Debian/stretch 64bit - DHCP" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/squeeze 64bit - DHCP" { +menuentry "Install Debian/stretch 64bit - static NW" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/squeeze 64bit - static NW" { +menuentry "Install Debian/stretch 64bit - Puppet" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=stretch netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "Install Debian/squeeze 64bit - Puppet" { +menuentry "Install Debian/jessie 64bit - DHCP" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -} # submenu "Install Debian ... ->" - -submenu "Specific sip:providerCE releases ... ->" --class=submenu { -menuentry "sip:providerCE (DHCP) - trunk version" { +menuentry "Install Debian/jessie 64bit - static NW" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk ngcpnw.dhcp + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "sip:providerCE (static NW) - trunk version" { +menuentry "Install Debian/jessie 64bit - Puppet" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:spce:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -source /boot/grub/sipwise_ce.cfg - -} # Specific sip:providerCE releases ... - -## begin of PRO menu {{{ -submenu "Specific sip:providerPRO releases ... ->" --class=submenu { - -menuentry "sip:providerPRO - sp1 / trunk release" { +menuentry "Install Debian/wheezy 64bit - DHCP" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "sip:providerPRO - sp2 / trunk release" { +menuentry "Install Debian/wheezy 64bit - static NW" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.102::10.15.20.1:255.255.255.0:sp2:eth0:off + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "sip:providerPRO - sp1 DHCP/ trunk release" { +menuentry "Install Debian/wheezy 64bit - Puppet" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=wheezy netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "sip:providerPRO - sp2 DHCP/ trunk release" { +menuentry "Install Debian/squeeze 64bit - DHCP" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk ngcpnw.dhcp + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -source /boot/grub/sipwise_pro.cfg - -} # Specific sip:providerPRO releases - -## begin of Carrier menu {{{ -submenu "Specific sip:Carrier releases ... ->" --class=submenu { - -menuentry "sip:Carrier mgmt (web01a) DHCP / trunk" { +menuentry "Install Debian/squeeze 64bit - static NW" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcpfillcache ngcpnw.dhcp ngcptrunk ngcpcrole=mgmt ngcpnonwrecfg ngcphostname=web01a + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:debian:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } -menuentry "sip:Carrier mgmt (web01a) / trunk" { +menuentry "Install Debian/squeeze 64bit - Puppet" { echo 'Loading kernel...' - linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcpfillcache ngcpnonwrecfg dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off ngcptrunk ngcpcrole=mgmt ngcphostname=web01a + linux /boot/%SHORT_NAME%/vmlinuz live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 nongcp ssh=sipwise debianrelease=squeeze netscript=http://deb.sipwise.com/netscript/master/deployment.sh puppetenv=production dns=92.42.136.30,92.42.136.31 ip=10.15.20.123::10.15.20.1:255.255.255.0:puppet-client42:eth0:off echo 'Loading initrd...' initrd /boot/%SHORT_NAME%/initrd.img } - -source /boot/grub/sipwise_carrier.cfg - -} # Specific sip:providerCarrier 3.x releases +} # submenu "Install Debian ... ->" source /boot/grub/addons.cfg source /boot/grub/footer.cfg diff --git a/templates/boot/isolinux/isolinux.cfg b/templates/boot/isolinux/isolinux.cfg index 63b12c8..ef7ba02 100644 --- a/templates/boot/isolinux/isolinux.cfg +++ b/templates/boot/isolinux/isolinux.cfg @@ -50,6 +50,174 @@ label grml endtext +## CE/PRO submenu +menu separator + +label - +menu label Install specific versions of CE/PRO +menu disable + +## begin of CE menu {{{ +menu begin ce-options +menu title Specific sip:providerCE releases ... + +label mainmenu +menu label ^Back to main menu... +menu exit +menu separator + +label cetrunk + menu label sip:providerCE (DHCP) - trunk version + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk ngcpnw.dhcp + + text help + Install sip:provider community edition, + trunk version. + + Retrieve network configuration via DHCP. + endtext + +label cenwtrunk + menu label sip:providerCE (static NW) - trunk version + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:spce:eth0:off + + text help + Install sip:provider community edition, + trunk version. + + Use static IP configuration, adjust + in boot command line if necessary. + endtext + +include sipwise_ce.cfg + +# back to main menu +label quit +menu hide +kernel isolinux.bin + +menu end +## end of CE menu }}} + +## begin of PRO menu {{{ +menu begin pro-options +menu title Specific sip:providerPRO releases ... + +label mainmenu +menu label ^Back to main menu... +menu exit +menu separator + +label prosp1nw-trunk + menu label sip:providerPRO - sp1 / trunk release + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off + + text help + Install sip:provider + professional edition, trunk version. + Install first node of HA setup. + Use static IP configuration, adjust + in boot command line if necessary. + endtext + +label prosp2nw-trunk + menu label sip:providerPRO - sp2 / trunk release + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.102::10.15.20.1:255.255.255.0:sp2:eth0:off + + text help + Install sip:provider + professional edition, trunk version. + Install second node of HA setup. + Use static IP configuration, adjust + in boot command line if necessary. + endtext + +label prosp1-trunk + menu label sip:providerPRO - sp1 DHCP/ trunk release + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp + + text help + Install sip:provider + professional edition, trunk version. + Install first node of HA setup. + Retrieve network configuration via DHCP. + endtext + +label prosp2-trunk + menu label sip:providerPRO - sp2 DHCP/ trunk release + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk ngcpnw.dhcp + + text help + Install sip:provider + professional edition, trunk version. + Install second node of HA setup. + Retrieve network configuration via DHCP. + endtext + +include sipwise_pro.cfg + +# back to main menu +label quit +menu hide +kernel isolinux.bin + +menu end +## end of PRO menu }}} + +## begin of CARRIER menu {{{ +menu begin pro-options +menu title Specific sip:Carrier 3.X releases ... + +label mainmenu +menu label ^Back to main menu... +menu exit +menu separator + +label carrierweb01atrunkdhcp + menu label sip:Carrier mgmt/web01a DHCP / trunk + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp ngcpnonwrecfg ngcpfillcache ngcpcrole=mgmt ngcphostname=web01a + + text help + Install sip:Carrier edition (trunk). + Install web01a node of Carrier setup. + Other nodes will be installed from web01a. + + Retrieve network configuration via DHCP. + endtext + + +label carrierweb01atrunkstatic + menu label sip:Carrier mgmt/web01a / trunk + kernel /boot/%SHORT_NAME%/vmlinuz + append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnonwrecfg dns=92.42.136.30,92.42.136.31 ngcpfillcache ngcpcrole=mgmt ngcphostname=web01a nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off + + text help + Install sip:Carrier edition (trunk). + Install web01a node of Carrier setup. + Other nodes will be installed from web01a. + + Static network configuration. + endtext + + +include sipwise_carrier.cfg + +# back to main menu +label quit +menu hide +kernel isolinux.bin + +menu end +## end of CARRIER menu }}} + + ## begin of Debian menu {{{ menu separator @@ -233,175 +401,8 @@ kernel isolinux.bin menu end ## end of Debian menu }}} -## CE/PRO submenu -menu separator - -label - -menu label Install specific versions of CE/PRO -menu disable - -## begin of CE menu {{{ -menu begin ce-options -menu title Specific sip:providerCE releases ... - -label mainmenu -menu label ^Back to main menu... -menu exit -menu separator - -label cetrunk - menu label sip:providerCE (DHCP) - trunk version - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk ngcpnw.dhcp - - text help - Install sip:provider community edition, - trunk version. - - Retrieve network configuration via DHCP. - endtext - -label cenwtrunk - menu label sip:providerCE (static NW) - trunk version - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcpce ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcphostname=spce ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.123::10.15.20.1:255.255.255.0:spce:eth0:off - - text help - Install sip:provider community edition, - trunk version. - - Use static IP configuration, adjust - in boot command line if necessary. - endtext - -include sipwise_ce.cfg - -# back to main menu -label quit -menu hide -kernel isolinux.bin - -menu end -## end of CE menu }}} - -## begin of PRO menu {{{ -menu begin pro-options -menu title Specific sip:providerPRO releases ... - -label mainmenu -menu label ^Back to main menu... -menu exit -menu separator - -label prosp1nw-trunk - menu label sip:providerPRO - sp1 / trunk release - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off - - text help - Install sip:provider - professional edition, trunk version. - Install first node of HA setup. - Use static IP configuration, adjust - in boot command line if necessary. - endtext - -label prosp2nw-trunk - menu label sip:providerPRO - sp2 / trunk release - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk dns=92.42.136.30,92.42.136.31 nodhcp ip=10.15.20.102::10.15.20.1:255.255.255.0:sp2:eth0:off - - text help - Install sip:provider - professional edition, trunk version. - Install second node of HA setup. - Use static IP configuration, adjust - in boot command line if necessary. - endtext - -label prosp1-trunk - menu label sip:providerPRO - sp1 DHCP/ trunk release - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp - - text help - Install sip:provider - professional edition, trunk version. - Install first node of HA setup. - Retrieve network configuration via DHCP. - endtext - -label prosp2-trunk - menu label sip:providerPRO - sp2 DHCP/ trunk release - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp2 ngcptrunk ngcpnw.dhcp - - text help - Install sip:provider - professional edition, trunk version. - Install second node of HA setup. - Retrieve network configuration via DHCP. - endtext - -include sipwise_pro.cfg - -# back to main menu -label quit -menu hide -kernel isolinux.bin - -menu end -## end of PRO menu }}} - -## begin of CARRIER menu {{{ -menu begin pro-options -menu title Specific sip:Carrier 3.X releases ... - -label mainmenu -menu label ^Back to main menu... -menu exit -menu separator - -label carrierweb01atrunkdhcp - menu label sip:Carrier mgmt/web01a DHCP / trunk - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnw.dhcp ngcpnonwrecfg ngcpfillcache ngcpcrole=mgmt ngcphostname=web01a - - text help - Install sip:Carrier edition (trunk). - Install web01a node of Carrier setup. - Other nodes will be installed from web01a. - - Retrieve network configuration via DHCP. - endtext - - -label carrierweb01atrunkstatic - menu label sip:Carrier mgmt/web01a / trunk - kernel /boot/%SHORT_NAME%/vmlinuz - append initrd=/boot/%SHORT_NAME%/initrd.img live-media-path=/live/%GRML_NAME%/ boot=live bootid=%BOOTID% apm=power-off mgag200.modeset=0 vga=791 quiet nomce net.ifnames=0 ngcppro ssh=sipwise debianrelease=jessie netscript=http://deb.sipwise.com/netscript/master/deployment.sh ngcpsp1 ngcptrunk ngcpnonwrecfg dns=92.42.136.30,92.42.136.31 ngcpfillcache ngcpcrole=mgmt ngcphostname=web01a nodhcp ip=10.15.20.101::10.15.20.1:255.255.255.0:sp1:eth0:off - - text help - Install sip:Carrier edition (trunk). - Install web01a node of Carrier setup. - Other nodes will be installed from web01a. - - Static network configuration. - endtext - - -include sipwise_carrier.cfg - -# back to main menu -label quit -menu hide -kernel isolinux.bin - -menu end -## end of CARRIER menu }}} ## begin of other bootoptions menu {{{ -menu separator menu begin other-options menu title Further bootoptions (local/PXE boot) ...