[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

preseed from CD different to network booting



Hey Debianers,

I am trying to compose a real basic preseed file, that will answer all the d-i questions so that the install is completely automated. This works on a PXE boot (with dhcp) but not with a CD boot (with dhcp). I still get asked to confirm my hostname, domain name and also if I want to install grub on the MBR with the CD install, but not the PXE install. What gives?

Cheers

Iain

### Preseed config
## Created by cpc
## Inspired by https://www.debian.org/releases/wheezy/example-preseed.txt

### Locale config
d-i console-setup/ask_detect boolean false
d-i debian-installer/locale string en_GB
d-i keyboard-configuration/xkb-keymap select uk

### Network config
d-i netcfg/enable boolean true
d-i netcfg/choose_interface select auto
d-i netcfg/disable_dhcp boolean false
d-i netcfg/get_hostname string test
d-i netcfg/get_domain string mydomain.lan
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true

### Mirror configuration
d-i mirror/country string manual
d-i mirror/http/hostname string mirror.ox.ac.uk
d-i mirror/http/directory string /debian
d-i mirror/suite string stable

d-i mirror/http/proxy string
### Root account
d-i passwd/root-password password hackmebaby
d-i passwd/root-password-again password hackmebaby

### User config
d-i passwd/user-fullname string Iain M Conochie
d-i passwd/username string iain
d-i passwd/user-password password r00tm3
d-i passwd/user-password-again password r00tm3
d-i passwd/user-uid string 1004

### Clock, timezone and optionally ntp setup
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 0.uk.pool.ntp.org

### Partition setup
d-i partman-auto/disk string /dev/vda
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-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
d-i partman/mount_style select uuid

### Apt setup
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org

### Package selection
tasksel tasksel/first multiselect standard
popularity-contest popularity-contest/participate boolean false
d-i pkgsel/include string openssh-server less locate

### Finish off the install
d-i finish-install/reboot_in_progress note


Reply to: