Last active
August 29, 2018 12:29
-
-
Save tuxfight3r/bb795e2db6d13da0feb698955146a74b to your computer and use it in GitHub Desktop.
ubuntu-trusty-preseed.cfg
This file contains hidden or 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
#ubuntu preseed file for desktop with disk encryption | |
d-i debian-installer/locale string en_GB.UTF-8 | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/variantcode string qwerty | |
d-i keyboard-configuration/layoutcode string British | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string internal.local | |
d-i netcfg/wireless_wep string | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string nl.archive.ubuntu.com | |
d-i mirror/http/directory string /ubuntu/ | |
d-i mirror/http/proxy string | |
d-i clock-setup/utc boolean true | |
d-i time/zone string Europe/London | |
d-i clock-setup/ntp boolean true | |
d-i partman-auto/method string crypto | |
d-i partman-crypto/weak_passphrase boolean true | |
d-i partman-crypto/passphrase password SECRET_PHRASE! | |
d-i partman-crypto/passphrase-again password SECRET_PHRASE! | |
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-lvm/confirm_nooverwrite boolean true | |
d-i partman-auto-lvm/guided_size string max | |
d-i partman-auto/choose_recipe select atomic | |
d-i partman/default_filesystem string ext4 | |
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 | |
d-i partman-auto/confirm boolean true | |
d-i passwd/root-login boolean false | |
d-i passwd/user-fullname string Company Admin | |
d-i passwd/username string cpadmin | |
d-i passwd/user-password password Passw0rd! | |
d-i passwd/user-password-again password Passw0rd! | |
d-i user-setup/allow-password-weak boolean true | |
d-i user-setup/encrypt-home boolean false | |
d-i apt-setup/restricted boolean true | |
d-i apt-setup/universe boolean true | |
tasksel tasksel/first multiselect ubuntu-desktop | |
d-i pkgsel/upgrade select none | |
d-i pkgsel/update-policy select none | |
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true | |
d-i pkgsel/include string openssh-server \ | |
build-essential \ | |
cifs-utils \ | |
console-common \ | |
filezilla \ | |
gedit-plugins \ | |
git \ | |
gnupg \ | |
gnupg-agent \ | |
htop \ | |
meld \ | |
network-manager-openvpn \ | |
network-manager-openvpn-gnome \ | |
nmap \ | |
rdesktop \ | |
retext \ | |
ruby \ | |
screen \ | |
shutter \ | |
synaptic \ | |
terminator \ | |
traceroute \ | |
ubuntu-restricted-extras \ | |
vim-nox \ | |
vlc \ | |
wine \ | |
wireshark \ | |
zenity | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/with_other_os boolean true | |
#put your custom shell script here | |
#d-i preseed/late_command string \ | |
#wget http://192.168.1.240/conf/sources.list -O /target/etc/apt/sources.list; \ | |
#wget http://192.168.1.240/conf/apt.conf -O /target/etc/apt/apt.conf | |
d-i finish-install/reboot_in_progress note | |
xserver-xorg xserver-xorg/autodetect_monitor boolean true |
This file contains hidden or 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
#ubuntu preseed file for minimal install with static ip configuration | |
d-i debian-installer/locale string en_GB.UTF-8 | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string British | |
d-i netcfg/choose_interface select auto | |
#Added to skip dhcp for static ip configuration | |
d-i netcfg/disable_dhcp boolean true | |
d-i netcfg/disable_autoconfig boolean true | |
d-i netcfg/use_autoconfig boolean false | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domain | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string nl.archive.ubuntu.com | |
d-i mirror/http/directory string /ubuntu/ | |
d-i mirror/http/proxy string | |
d-i time/zone string Europe/London | |
d-i clock-setup/utc boolean true | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server string pool.ntp.org | |
d-i partman-auto/method string lvm | |
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-lvm/confirm_nooverwrite boolean true | |
d-i partman-auto-lvm/guided_size string max | |
d-i partman-auto/choose_recipe select atomic | |
d-i partman/default_filesystem string ext4 | |
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 | |
d-i partman-md/confirm boolean true | |
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 | |
d-i passwd/root-login boolean false | |
d-i passwd/user-fullname string Skyscape Admin | |
d-i passwd/username string sadmin | |
# replace password (clear text) in lines below | |
d-i passwd/user-password password Passw0rd | |
d-i passwd/user-password-again password Passw0rd | |
d-i user-setup/allow-password-weak boolean true | |
d-i user-setup/encrypt-home boolean false | |
tasksel tasksel/first multiselect server | |
d-i pkgsel/include string openssh-server | |
unattended-upgrades unattended-upgrades/enable_auto_updates boolean false | |
d-i pkgsel/update-policy select none | |
popularity-contest popularity-contest/participate boolean false | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/with_other_os boolean true | |
#put your custom shell script here | |
#d-i preseed/late_command string \ | |
#wget http://192.168.100.240/conf/sources.list -O /target/etc/apt/sources.list; \ | |
#wget http://192.168.100.240/conf/apt.conf -O /target/etc/apt/apt.conf | |
d-i finish-install/reboot_in_progress note |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment