diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-04-24 21:32:39 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-03 13:29:05 +0200 |
commit | 9f2f265e3b6539884cd403909b90e47a5dd9499b (patch) | |
tree | 6c75ba3a301464e5851785355531460b3eb99dd9 /qemu-kvm/ggsn-kernel-gtp/preseed.cfg | |
parent | cd23e09f360e92680ebcd0518ea6fa8bb5c7d97c (diff) |
add script to create virtual machine with kernel gtp ggsn for qemu-kvm
Change-Id: Id9f1aee5d4158024517bc8e3884929b9efd1343e
Diffstat (limited to 'qemu-kvm/ggsn-kernel-gtp/preseed.cfg')
-rw-r--r-- | qemu-kvm/ggsn-kernel-gtp/preseed.cfg | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/qemu-kvm/ggsn-kernel-gtp/preseed.cfg b/qemu-kvm/ggsn-kernel-gtp/preseed.cfg new file mode 100644 index 0000000..3e70010 --- /dev/null +++ b/qemu-kvm/ggsn-kernel-gtp/preseed.cfg @@ -0,0 +1,66 @@ +# Preconfiguration file for jessie. +# For more details see https://www.debian.org/releases/jessie/example-preseed.txt +d-i debian-installer/locale string en_US +d-i keyboard-configuration/xkb-keymap select us + +# Choose an network interface that has link if possible. +d-i netcfg/choose_interface select auto + +# Disable that annoying WEP key dialog. +d-i netcfg/wireless_wep string + +# Mirror settings. +d-i mirror/country string manual +d-i mirror/http/hostname string ftp.de.debian.org +d-i mirror/http/directory string /debian +d-i mirror/http/proxy string + +# Root account setup. You can set password in plain-text or pre-encrypted. +d-i passwd/root-login boolean true +d-i passwd/root-password password ggsn +d-i passwd/root-password-again password ggsn +#d-i passwd/root-password-crypted password $6$1LCVFshS/kbYVg$M1QS1ZJ3.E7NkAD8sqkqhqExA2HWQ5/iDE.l23Xbr89Z7hTg/jUuBMyrYzANLmRybYcH8Smcy.yGDKMAX3okd0 + +# User account setup. +#d-i passwd/make-user boolean false +d-i passwd/user-fullname string Osmo GGSN +d-i passwd/username string ggsn +d-i passwd/user-password password ggsn +d-i passwd/user-password-again password ggsn +#d-i passwd/user-password-crypted password $6$dU9we2Mm$Btq1Tk1WkFx3/8YsXWbZr13m56uv0PabJKxk5teKAImLLQhtniOURXuOVLmbiBl0O3iS6xQBctNIc9Dn5b3vR. +# Password login is disabled. +#d-i passwd/user-password-crypted password ! + +# Controls whether or not the hardware clock is set to UTC. +d-i clock-setup/utc boolean true +# See the contents of /usr/share/zoneinfo/ for valid values. +d-i time/zone string Europe/Berlin +# Controls whether to use NTP to set the clock during the install. +d-i clock-setup/ntp boolean true + +# Simple non-LVM, all files in one partition. +# For more examples see https://www.debian.org/releases/jessie/example-preseed.txt +d-i partman-auto/method string regular +d-i partman-auto/choose_recipe select atomic +d-i partman-partitioning/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 + +# Do not install recommended packages by default. +d-i base-installer/install-recommends boolean false +tasksel tasksel/first multiselect +# Individual additional packages to install. acpid and acpi-support-base are required to make virsh shutdown to work. +# ACPI packages are needed for `virsh shutdown <domain>` to work. +d-i pkgsel/include string openssh-server ca-certificates acpid acpi-support-base +popularity-contest popularity-contest/participate boolean false + +# Boot loader installation. +d-i grub-installer/only_debian boolean true +d-i grub-installer/bootdev string /dev/vda + +# Run postinst.sh in /target just before the install finishes. +d-i preseed/late_command string cp postinst.sh postinst.tar.gz /target/tmp/ && chmod 755 /target/tmp/postinst.sh && in-target /tmp/postinst.sh + +# Avoid that last message about the install being complete. +d-i finish-install/reboot_in_progress note |