Last active
September 30, 2020 19:50
-
-
Save pfichtner/551191803d7847b6f3e2 to your computer and use it in GitHub Desktop.
ubuntu-netconsole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on http://schneidr.de/2012/05/preseed-fuer-ubuntu-10-04-fuer-12-04-aktualisieren/ | |
# Sprache des Servers auf Englisch, Tastaturlayout auf Deutsch setzen | |
d-i debian-installer/language string en | |
d-i debian-installer/country string DE | |
d-i debian-installer/locale string en_US | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string de | |
# Mirror settings. | |
d-i mirror/protocol string http | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string de.archive.ubuntu.com | |
d-i mirror/http/directory string /ubuntu | |
d-i mirror/http/proxy string http://dnsname-of-my-squid:3128/ | |
#d-i mirror/suite string lucid | |
#d-i mirror/udeb/suite string lucid | |
# Weitere Repositories aktivieren | |
d-i mirror/udeb/components multiselect main, restricted | |
# Deutsche Zeitzone und Zeitserver setzen | |
d-i clock-setup/utc boolean true | |
d-i time/zone string Europe/Berlin | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server time | |
# Verbose output and no boot splash screen. | |
d-i debian-installer/quiet boolean false | |
d-i debian-installer/splash boolean false | |
# Partitionierung definieren: | |
# 1: swap | |
# 2: root-Partition mit btrfs | |
# Die Swap-Partition nach vorne zu legen hat den Vorteil, dass man hinterher bei Bedarf die Root-Partition einfacher vergrößern kann. | |
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto/method string regular | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-md/device_remove_md boolean true | |
d-i partman-lvm/confirm boolean true | |
d-i partman/alignment string "optimal" | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
64 512 300% linux-swap \ | |
$primary{ } \ | |
method{ swap } format{ } \ | |
. \ | |
500 10000 1000000000 btrfs \ | |
$primary{ } $bootable{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ btrfs } \ | |
mountpoint{ / } \ | |
. | |
d-i partman/confirm_write_new_label boolean true | |
d-i partman/choose_partition select finish | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
# VM-optimierten Kernel nutzen | |
d-i base-installer/kernel/override-image string linux-virtual | |
# Ersten User anlegen | |
d-i passwd/user-fullname string nonroot | |
d-i passwd/username string nonroot | |
d-i passwd/user-password password mySecretPassword | |
d-i passwd/user-password-again password mySecretPassword | |
#d-i passwd/user-password-crypted password $1$9NwxxxxxxxxxxxxxxxxxxxxJf.V4oW0 | |
# md5-hash generieren: echo "mypassword" | mkpasswd -s -H MD5 | |
d-i passwd/user-uid string 1000 | |
d-i user-setup/allow-password-weak boolean true | |
d-i user-setup/encrypt-home boolean true | |
# Noch mehr repositories | |
d-i apt-setup/restricted boolean true | |
d-i apt-setup/universe boolean true | |
d-i apt-setup/backports boolean true | |
d-i apt-setup/services-select multiselect security | |
d-i apt-setup/security_host string security.ubuntu.com | |
d-i apt-setup/security_path string /ubuntu | |
# Server mit ein paar zusätzlichen paketen installieren | |
tasksel tasksel/first multiselect server | |
d-i pkgsel/include string openssh-server | |
d-i pkgsel/upgrade select safe-upgrade | |
d-i pkgsel/install-language-support boolean true | |
d-i pkgsel/language-packs multiselect de, en | |
d-i pkgsel/update-policy select unattended-upgrades | |
# Keine Nutzungsinfos senden | |
popularity-contest popularity-contest/participate boolean false | |
# Grub automatisch installieren | |
d-i grub-installer/only_debian boolean true | |
# Alleine neu starten | |
d-i finish-install/reboot_in_progress note |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur old/ubuntu-installer/i386/boot-screens/syslinux.cfg new/ubuntu-installer/i386/boot-screens/syslinux.cfg | |
--- old/ubuntu-installer/i386/boot-screens/syslinux.cfg 2014-08-01 17:17:55.476223717 +0200 | |
+++ new/ubuntu-installer/i386/boot-screens/syslinux.cfg 2014-08-01 19:19:49.757788250 +0200 | |
@@ -2,4 +2,8 @@ | |
include ubuntu-installer/i386/boot-screens/menu.cfg | |
default ubuntu-installer/i386/boot-screens/vesamenu.c32 | |
prompt 0 | |
-timeout 0 | |
+timeout 30 | |
diff -Naur old/ubuntu-installer/i386/boot-screens/txt.cfg new/ubuntu-installer/i386/boot-screens/txt.cfg | |
--- old/ubuntu-installer/i386/boot-screens/txt.cfg 2014-04-15 23:16:53.000000000 +0200 | |
+++ new/ubuntu-installer/i386/boot-screens/txt.cfg 2014-08-01 17:35:18.177711649 +0200 | |
@@ -1,9 +1,14 @@ | |
-default install | |
+default netconsole | |
+label netconsole | |
+ menu label ^Netconsole | |
+ menu default | |
+ kernel ubuntu-installer/i386/linux | |
+ append vga=normal initrd=ubuntu-installer/i386/initrd.gz preseed/url=http://YOUR_DOMAIN/preseed/netconsole.cfg debian-installer/locale=en_US keyboard-configuration/layoutcode=de netcfg/get_hostname=installme | |
label install | |
menu label ^Install | |
- menu default | |
kernel ubuntu-installer/i386/linux | |
label cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment