Here you find the full example preseed file for Jessie:
https://www.debian.org/releases/jessie/example-preseed.txt
I personally wanted an attended installation that just had some options preconfigured and runs a late_command in the end:
#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select us
### Network configuration
# Disable network configuration entirely. This is useful for cdrom
# installations on non-networked devices where the network questions,
# warning and long timeouts are a nuisance.
d-i netcfg/choose_interface select eth1
popularity-contest popularity-contest/participate boolean false
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
#copy another script to the target
d-i preseed/late_command string wget -O /target/etc/init.d/latecommand.sh http://10.0.8.1/latecommand.sh; \
in-target chmod +x /etc/init.d/latecommand.sh; \
in-target update-rc.d latecommand.sh defaults
No comments:
Post a Comment