I know that there is a lot of information about headless and unattended installation of Ubuntu servers. But I need to install the desktop version of Trusty on a lot of machines and I would like to automate that. With the Kickstart and Preseed manuals I could not bring up an unattended install of Ubuntu 14.04. Desktop 64-bit.
Is somewhere out there a manual that I did not find? It would be great to get some help. I already spent a couple of hours on this.
My txt.cfg in /isolinux/:
default autoinstall
label autoinstall
menu label ^Autoinstall Ubuntu POS-Server
kernel /install/vmlinuz
append preseed/file=/cdrom/preseed/pos.seed debian-installer/locale=de_DE console-setup/layoutcode=de initrd=/install/initrd.gz ramdisk_size=16384 ks=cdrom:/ks.cfg root=/dev/ram rw --
My pos.seed in /preseed/:
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition
select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string de
d-i console-setup/variantcode string
### Network
d-i netcfg/choose_interface select auto
## Keyboard configuration
d-i keyboard-configuration keyboard-configuration/layoutcode string de
d-i keyboard-configuration keyboard-configuration/layout select German
d-i keyboard-configuration keyboard-configuration/variant select German
d-i keyboard-configuration keyboard-configuration/xkb-keymap select de
#### Advanced options
### Running custom commands during the installation
# This first command is run as early as possible, just after
# preseeding is read.
# if old filesystem present installer asks for unmount
d-i preseed/early_command string umount /media
### Package selection
# Individual additional packages to install
# Install the Ubuntu desktop.
tasksel tasksel/first multiselect ubuntu-desktop
d-i pkgsel/include string openssh-server build-essential
# Policy for applying updates. May be "none" (no automatic updates),
# "unattended-upgrades" (install security updates automatically), or
# "landscape" (manage system with Landscape).
d-i pkgsel/update-policy select none
# Enable extras.ubuntu.com.
d-i apt-setup/extras boolean true
My ks.cfg in /:
#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard de
#System mouse
mouse
#System timezone
timezone Europe/Berlin
#Root password
rootpw --disabled
#Initial user
user ****** --fullname "******" --iscrypted --password ******************
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr locale=de_DE console-setup/ask_detect=false keyboard-configuration/layoutcode=de
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Partitioning
part / --fstype ext4 --size 1 --grow --asprimary
part swap --recommended
part /boot --fstype ext4 --size 256 --asprimary
#System authorization infomation
auth --useshadow --enablemd5
#Network configuration
network --bootproto=dhcp --device=eth0
#Firewall configuration
#firewall --disabled
#Do not configure the X Window System
skipx
#custom packages for installation
%packages
openssh-server
ubuntu-desktop