summaryrefslogtreecommitdiff
path: root/autoinstall
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-01-26 16:40:02 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-01-26 16:40:02 (GMT)
commit72d5049e007063ac0ce57901919a5a7edea5081e (patch)
tree34d97d9b83b4ab5c103c3c7618612d1e0fabdbea /autoinstall
parent4574f1b983eb7086ddfab41a0344362e2e783e05 (diff)
downloadkolab-scripts-72d5049e007063ac0ce57901919a5a7edea5081e.tar.gz
Add precise, correct quantal
Diffstat (limited to 'autoinstall')
-rw-r--r--autoinstall/bootstrap/bootstrap-precise-script.txt15
-rw-r--r--autoinstall/precise-30.cfg45
-rw-r--r--autoinstall/quantal-30.cfg4
3 files changed, 62 insertions, 2 deletions
diff --git a/autoinstall/bootstrap/bootstrap-precise-script.txt b/autoinstall/bootstrap/bootstrap-precise-script.txt
new file mode 100644
index 0000000..17e2e1f
--- /dev/null
+++ b/autoinstall/bootstrap/bootstrap-precise-script.txt
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Add the kolab repository.
+cat > /etc/apt/sources.list.d/kolab-3.0.list << EOF
+deb http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0 precise development
+deb-src http://mirror.kolabsys.com/pub/ubuntu/kolab-3.0 precise development
+EOF
+
+apt-get update || :
+
+wget -q -O/tmp/common.sh "http://git.kolab.org/kolab-scripts/plain/autoinstall/bootstrap/common.txt"
+chmod 755 /tmp/common.sh
+/tmp/common.sh
+
+chown -R developer:developer ~developer
diff --git a/autoinstall/precise-30.cfg b/autoinstall/precise-30.cfg
new file mode 100644
index 0000000..ff4668b
--- /dev/null
+++ b/autoinstall/precise-30.cfg
@@ -0,0 +1,45 @@
+d-i debian-installer/locale string en_US
+d-i console-keymaps-at/keymap select us
+d-i netcfg/choose_interface select auto
+d-i netcfg/get_hostname kolab.example.org
+d-i netcfg/get_domain kolab.example.org
+d-i netcfg/wireless_wep string
+d-i mirror/country string enter information manually
+d-i mirror/http/hostname string mirror.krystal.co.uk
+d-i mirror/http/directory string /ubuntu/
+d-i clock-setup/utc boolean true
+d-i time/zone string Europe/Zurich
+d-i clock-setup/ntp boolean true
+
+d-i partman-auto/disk string /dev/sda
+d-i partman-auto/method string lvm
+d-i partman-auto/choose_recipe select atomic
+d-i partman-lvm/confirm boolean true
+d-i partman-lvm/device_remove_lvm boolean true
+d-i partman-lvm/confirm_nooverwrite boolean true
+d-i partman/choose_partition select finish
+d-i partman/confirm boolean true
+d-i partman/confirm_nooverwrite boolean true
+d-i partman-basicfilesystems/no_mount_point yes
+
+d-i passwd/root-password password Welcome2KolabSystems
+d-i passwd/root-password-again password Welcome2KolabSystems
+
+d-i passwd/user-fullname string Kolab Systems User
+d-i passwd/username string kolab
+d-i passwd/user-password password Welcome2KolabSystems
+d-i passwd/user-password-again password Welcome2KolabSystems
+
+d-i apt-setup/non-free boolean true
+d-i apt-setup/contrib boolean true
+
+tasksel tasksel/first multiselect standard
+d-i pkgsel/include select openssh-server sysv-rc-conf wget
+d-i popularity-contest/participate boolean false
+
+d-i preseed/late_command string in-target wget -q -O/root/init.sh http://git.kolab.org/kolab-scripts/plain/autoinstall/bootstrap/bootstrap-precise-script.txt; in-target chmod +x /root/init.sh; in-target bash /root/init.sh
+
+d-i grub-installer/only_debian boolean true
+d-i grub-installer/with_other_os boolean true
+
+d-i finish-install/reboot_in_progress note
diff --git a/autoinstall/quantal-30.cfg b/autoinstall/quantal-30.cfg
index 84e2a26..aeb6047 100644
--- a/autoinstall/quantal-30.cfg
+++ b/autoinstall/quantal-30.cfg
@@ -5,8 +5,8 @@ d-i netcfg/get_hostname kolab.example.org
d-i netcfg/get_domain kolab.example.org
d-i netcfg/wireless_wep string
d-i mirror/country string enter information manually
-d-i mirror/http/hostname string ftp.uk.debian.org
-d-i mirror/http/directory string /debian/
+d-i mirror/http/hostname string mirror.krystal.co.uk
+d-i mirror/http/directory string /ubuntu/
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Zurich
d-i clock-setup/ntp boolean true