bootoption ngcprelease is too confusing, so drop it.
instead ngcpautobuildrelease does exactly what it says:
ngcpautobuildrelease=2.4-rc0
will skip generation of sources.list inside ngcp-installer and instead
use the defaults, except for the release it will use:
deb http://deb.sipwise.com/autobuild/ release-2.4-rc0 main
so we can test release candidates of upcoming stable releases without
manual intervention or adjusting ngcp-installer for each single test
release.
When installing a trunk release we also take the most recent version
of the installer, the installer will use the sources.list.trunk file
then anway. \o/
From: Michael Prokop <mprokop@sipwise.com>
we need a decent way to test unfinished releases during the release
cycle, using ngcprelease=2.4-rc1 allows us to test the installer
without any manual intervention against the 2.4-rc1 release on jenkins
From: Michael Prokop <mprokop@sipwise.com>
Building the offline mirror on request is slow and we don't
use it anymore since we provide the mirror on the ISO itself,
so instead test for /srv/mirror/debian only.
While at it don't hardcode "squeeze" in the mirror test but
instead use ${DEBIAN_RELEASE}.
From: Michael Prokop <mprokop@sipwise.com>
Instead of providing the installation details to the screen and
sleep a certain amount let's log the data to
/tmp/installer-settings.txt instead.
While at it also make sure bootoption 'ngcpce' is used so it's
available in the logo screen as well as inside the script.
From: Michael Prokop <mprokop@sipwise.com>
When deploying inside Kantan we want to be able to skip certain
stuff while providing data to the outside host. The bootoption
'kantan' provides that option and since we want to be able to
halt the system after installation also support the 'ngcphalt'
bootoption.
From: Michael Prokop <mprokop@sipwise.com>
Using bootoption "ngcpvers=2.1" should install our platform
version 2.1 and needs to automatically be aware of installing
Debian/lenny.
I'm not entirely happy with hardcoding release vs. platform vs.
installer version, but that's the best we can do for now.
From: Michael Prokop <mprokop@sipwise.com>
We are providing it (and depend on it) on our pro installations
already, but if we're deploying a CE edition on a physical
server system and network doesn't work after deploying it's
just a waste of time. So just install it on all our own systems
by default.
Ack-ed by: Daniel
From: Michael Prokop <mprokop@sipwise.com>
define default values at beginning of file
move setting hostname to default after cmdline/profile scanning
load "ip=<client-ip>:<srv-ip>: ..." in array variable
re-orded and additional commandline output
remove more hardcoded parameters (devs, IPs, hostnames)
full profile for sppro/spce
Otherwise we're creating broken systems which don't work as supposed.
And while at it do not append variables to files but instead override
any existing values, otherwise we might have broken config files.
From: Michael Prokop <mprokop@sipwise.com>
With the current bridge setup for installing pro systems on Proxmox
we have to use ip=....:eth1:off for getting into the internet[tm].
Since the internal network device needs to be eth0 then we've
to check for the specificed ip=... device and use the other[tm] one
for configuration.
From: Michael Prokop <mprokop@sipwise.com>
get profile configuration from file(s) in directory (instead of from one file
only), assume there is a file "default.sh" which is sourced in deployment.sh
+ minimal example profile setting for my SPPRO/CE VMs
SP/CE version can be specified by ngcpvers=N.N in bootparms and commandline,
and as SP_VERSION in profile file
ngcp-installer version as ngcpinstvers=N.N.N in bootparms and commandline,
and as INSTALLER_VERSION in profile file
commandline overrides profile overrides bootparms
* do not hardcode deb.sipwise.com/kantan/
* do not remove profile file, instead store profile file under its profile name
* try to run wget multiple times before giving up
* drop duplicate ngcpprofile code
* send error messages to stderr
From: Michael Prokop <mprokop@sipwise.com>
Swap partition has been prepared already but wasn't
enabled through /etc/fstab.
Thanks to Richard for finding and reporting this issue.
Closes: https://bugtracker.sipwise.com/view.php?id=665
From: Michael Prokop <mprokop@sipwise.com>
This actually isn't necessary but it's nice to be able
to re-execute /tmp/netscript.grml without having to reboot.
So let's make sure rereading the partition table (and therefore
no processes running on /mnt/* are left behind) works.
From: Michael Prokop <mprokop@sipwise.com>
Initial step towards our network (re)design, as stated at
https://sipwise.titanpad.com/install-instructions
While at it add some further useful default settings
and drop getProxmoxBootParam workaround.
From: Michael Prokop <mprokop@sipwise.com>
Oh boy, finding this issue was everything but nice.
* USB pens: nice
* local deployment ISOs: nice
* CD drives (esp. by IBM and Lenovo): fsck you!
From: Michael Prokop <mprokop@sipwise.com>