MT#59872 Remove Pro sp2 from boot menu

We are dropping the scenario when sp2 node is installed from cd image so
remove appropriate part of the code.

Change-Id: Idced6b43a21add903dca070aa68f84b77acba28e
mr12.4
Mykola Malkov 1 year ago
parent 0a91a49826
commit 0fb8327415

@ -24,13 +24,6 @@ menuentry "##VERSION## Sipwise C5 PRO (sp1)" {
initrd /boot/%SHORT_NAME%/initrd.img initrd /boot/%SHORT_NAME%/initrd.img
} }
menuentry "##VERSION## Sipwise C5 PRO (sp2)" {
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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcphostname=sp2 ngcpnodename=sp2
echo 'Loading initrd...'
initrd /boot/%SHORT_NAME%/initrd.img
}
menuentry "##VERSION## Sipwise C5 CARRIER (web01a)" { menuentry "##VERSION## Sipwise C5 CARRIER (web01a)" {
echo 'Loading kernel...' 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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcpcrole=mgmt ngcphostname=web01a ngcpnodename=sp1 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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcpcrole=mgmt ngcphostname=web01a ngcpnodename=sp1

@ -69,30 +69,20 @@ label prosp1-##VERSION##
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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcphostname=sp1 ngcpnodename=sp1 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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcphostname=sp1 ngcpnodename=sp1
text help text help
Install Sipwise C5 Install Sipwise C5 professional edition,
professional edition, version ##VERSION##. version ##VERSION##.
Install first node of HA setup. Install sp1 node of PRO setup.
endtext Other node will be installed from sp1.
label prosp2-##VERSION##
menu label ##VERSION## C5 PRO (sp2)
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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcphostname=sp2 ngcpnodename=sp2
text help
Install Sipwise C5
professional edition, version ##VERSION##.
Install second node of HA setup.
endtext endtext
label carrier##VERSION## label carrier##VERSION##
menu label ##VERSION## C5 CARRIER (web01a) menu label ##VERSION## C5 CARRIER (web01a)
kernel /boot/%SHORT_NAME%/vmlinuz 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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcpcrole=mgmt ngcphostname=web01a ngcpnodename=sp1 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=##DIST## scripts ngcpvers=##VERSION## nodhcp ngcpcrole=mgmt ngcphostname=web01a ngcpnodename=sp1
text help text help
Install Sipwise C5 Carrier edition ##VERSION##. Install Sipwise C5 Carrier edition,
version ##VERSION##.
Install web01a node of Carrier setup. Install web01a node of Carrier setup.
Other nodes will be installed from web01a. Other nodes will be installed from web01a.
endtext endtext

Loading…
Cancel
Save