provide netscript and templates as separate package

The netscript does more than just vmbuilder stuff nowadays,
therefore move it from the vmbuilder package to a separate
package. ngcp-deployment provides everything needed for the
deployment itself, whereas ngcp-vmbuilder takes care of just
building the VMware/Virtualbox images based on the disk image
which might be the result of ngcp-deployment.

While at it provide the netscript as /usr/sbin/ngcp-deployment so
it can be used offline on the deployment ISOs itself as well
(offline usage by using /srv/mirror as mirror being WIP).

From: Michael Prokop <mprokop@sipwise.com>
changes/06/606/1
Michael Prokop 15 years ago
commit f0e7100fff

@ -0,0 +1,9 @@
#label ipxe
# menu label Run iP^XE
# kernel /boot/addons/ipxe.lkrn
#
# text help
# Start Etherboot/iPXE for booting via
# network (PXE).
# endtext
#

@ -0,0 +1,149 @@
# TODO:
# ngcpip=... - set IP address of installed system (defaults to dhcp) (WIP)
# ngcpprofile=... - download additional configuration profile (WIP)
default grml
label grml
menu DEFAULT
menu label Rescue system boot (%VERSION%, %ARCH%)
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce noquick
text help
Automatic deployment system for the
Sipwise Next Generation Communication
Platform. http://sipwise.com/
Based on http://grml.org/
endtext
label ce
menu label Install sip:providerCE - DHCP
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcpce netscript=http://deb.sipwise.com/kantan/deployment.sh ngcphostname=spce
text help
Install sip:provider community edition.
Retrieve network configuration via DHCP.
endtext
label cenw
menu label Install sip:providerCE - static NW config
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcpce netscript=http://deb.sipwise.com/kantan/deployment.sh ngcphostname=spce ip=192.168.51.123::192.168.51.1:255.255.255.0:spce:eth0:off dns=192.168.51.2
text help
Install sip:provider community edition.
Use static IP configuration, adjust in
boot command line if necessary.
endtext
label prosp1
menu label Install sip:providerPRO - sp1 / DHCP
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcppro netscript=http://deb.sipwise.com/kantan/deployment.sh ngcpsp1 ngcphostname=sp1
text help
Install sip:provider professional edition.
Install first node of HA setup.
Retrieve network configuration via DHCP.
endtext
label prosp1nw
menu label Install sip:providerPRO - sp1 / static NW
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcppro netscript=http://deb.sipwise.com/kantan/deployment.sh ngcpsp1 ngcphostname=sp1 ip=192.168.51.123::192.168.51.1:255.255.255.0:spce:eth0:off dns=192.168.51.2
text help
Install sip:provider professional edition.
Install first node of HA setup.
Use static IP configuration, adjust in
boot command line if necessary.
endtext
label prosp2
menu label Install sip:providerPRO - sp2 / DHCP
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcppro netscript=http://deb.sipwise.com/kantan/deployment.sh ngcpsp2 ngcphostname=sp2
text help
Install sip:provider professional edition.
Install second node of HA setup.
Retrieve network configuration via DHCP.
endtext
label prosp2nw
menu label Install sip:providerPRO - sp2 / static NW
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce ngcppro netscript=http://deb.sipwise.com/kantan/deployment.sh ngcpsp2 ngcphostname=sp2 ip=192.168.51.123::192.168.51.1:255.255.255.0:spce:eth0:off dns=192.168.51.2
text help
Install sip:provider professional edition.
Install second node of HA setup.
Use static IP configuration, adjust in
boot command line if necessary.
endtext
label squeeze
menu label Install Debian/squeeze 64bit / DHCP
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce nongcp netscript=http://deb.sipwise.com/kantan/deployment.sh
text help
Install Debian squeeze, 64bit.
Does NOT install sip:provider platform.
Retrieve network configuration via DHCP.
endtext
label squeezenw
menu label Install Debian/squeeze 64bit / static NW
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce nongcp netscript=http://deb.sipwise.com/kantan/deployment.sh ip=192.168.51.123::192.168.51.1:255.255.255.0:spce:eth0:off dns=192.168.51.2
text help
Install Debian squeeze, 64bit.
Does NOT install sip:provider platform.
Use static IP configuration, adjust in
boot command line if necessary.
endtext
label fw
menu label Automatic Firmware upgrades / DHCP
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce noinstall nongcp nodebian ngcpfirmware netscript=http://deb.sipwise.com/kantan/deployment.sh
text help
Install recent firmware images for IBM hardware.
Retrieve network configuration via DHCP.
endtext
label fwnw
menu label Automatic Firmware upgrades / static NW
kernel /boot/%SHORT_NAME%/linux26
append initrd=/boot/%SHORT_NAME%/initrd.gz boot=live bootid=%BOOTID% apm=power-off vga=791 quiet nomce noinstall nongcp nodebian ngcpfirmware netscript=http://deb.sipwise.com/kantan/deployment.sh ip=192.168.51.123::192.168.51.1:255.255.255.0:spce:eth0:off dns=192.168.51.2
text help
Install recent firmware images for IBM hardware.
Use static IP configuration, adjust in
boot command line if necessary.
endtext
label ipxe
menu label Boot from network (iP^XE)
kernel /boot/addons/ipxe.lkrn
text help
Start Etherboot/iPXE for booting via
network (PXE).
endtext
label hd
menu label ^Boot from local Hard Disk
localboot 0x80
text help
Boot from first local hard disk -
if present and bootable.
endtext
# EOF

@ -0,0 +1,9 @@
# local disk:
#label hd
# menu label ^Boot from Hard Disk
# localboot 0x80
# text help
# Boot from first local hard disk -
# if present and bootable.
# endtext
#

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

@ -0,0 +1,40 @@
## background image
menu background sipwise.png
## size
menu width 50
menu margin 0
menu rows 13
menu tabmsgrow 18
menu helpmsgrow 21
menu cmdlinerow 22
menu timeoutrow 26
menu hshift 2
menu vshift 1
## colors
# menu color element ansi foreground background shadow
menu color border 30;44 #00000000 #00000000 none
menu color cmdline 0 #ff000000 #00000000 none
menu color cmdmark 1;36;40 #ffff0000 #00000000 none
menu color disabled 0 #ff006600 #00000000
menu color help 0 #ff000000 #00000000 none
menu color hotkey 0 #ff000000 #00000000 none
menu color hotsel 0 #ff000000 #ff006600
menu color screen 37;40 #00000000 #00000000 none
menu color scrollbar 30;44 #00000000 #00000000 none
menu color sel 7 #ff000000 #ff006600
menu color tabmsg 0 #ffffffff #00000000 none
menu color timeout 0 #ff000000 #00000000
menu color timeout_msg 0 #ff808080 #00000000
menu color title 0 #ff000000 #00000000 none
menu color unsel 0 #ff000000 #00000000 none
## text
menu title Grml-Sipwise - The VoIP experts
menu tabmsg Press ENTER to boot or TAB to edit a menu entry
menu autoboot Automatic boot in # second{,s}...
## source files
include distri.cfg
default vesamenu.c32
Loading…
Cancel
Save