Re: preseed from CD different to network booting
Hey Brian, On 26/09/14 19:24, Brian wrote: On Fri 26 Sep 2014 at 19:02:57 +0100, Iain M Conochie wrote: 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? For the hostname: d-i netcfg/get_hostname string test d-i netcfg/hostname string test For grub: d-i grub-installer/with_other_os boolean true d-i grub-installer/only_debian boolean true The domain name cannot be preseeded. This is recommended: https://www.debian.org/releases/wheezy/example-preseed.txt Yeah - I used that for inspiration. I guess I should add the grub parts so that the questions are not asked. Thanks for that. However, I am concerned why a CD d-i behaves differently to a PXE d-i. It, of course, could be that I am using different versions (the ISO image I have is old) so I will try the latest images and see what happens. I am using a netinst CD image if that makes any difference. Cheers Iain -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5425b2ad.9060...@thargoid.co.uk
Re: preseed from CD different to network booting
On Fri 26 Sep 2014 at 19:02:57 +0100, Iain M Conochie wrote: > 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? For the hostname: d-i netcfg/get_hostname string test d-i netcfg/hostname string test For grub: d-i grub-installer/with_other_os boolean true d-i grub-installer/only_debian boolean true The domain name cannot be preseeded. This is recommended: https://www.debian.org/releases/wheezy/example-preseed.txt -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140926182432.gv4...@copernicus.demon.co.uk
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5425aa51.5060...@thargoid.co.uk