d-i preseed/url string http://www.anheng.com.cn/loongson2f/install/preseed.cfg # Locale sets language and country. #d-i debian-installer/locale string en_HK # Keyboard selection. d-i console-setup/ask_detect boolean false d-i console-setup/layoutcode string us # Network configuration. d-i netcfg/choose_interface select auto d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain #d-i netcfg/get_nameservers string 202.96.209.5 #d-i netcfg/get_ipaddress string 192.168.16.250 #d-i netcfg/get_netmask string 255.255.255.0 #d-i netcfg/get_gateway string 192.168.16.1 #d-i netcfg/confirm_static boolean true # Mirror settings #d-i mirror/country string manual #d-i mirror/http/hostname string 192.168.16.241 #d-i mirror/http/directory string /ubuntu #d-i mirror/http/proxy string # Clock and time zone setup #d-i clock-setup/utc boolean false #d-i time/zone string Asia/Shanghai # Partitioning #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-auto-lvm/guided_size string max #d-i partman-auto/choose_recipe select atomic #d-i partman/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 # Base system installation d-i base-installer/kernel/image string none # Account setup #d-i passwd/root-login boolean true #d-i passwd/root-password password 123456 #d-i passwd/root-password-again password 123456 #d-i passwd/make-user boolean false #d-i user-setup/encrypt-home boolean false # Apt setup #d-i apt-setup/use_mirror boolean false d-i apt-setup/non-free boolean true d-i apt-setup/contrib boolean true #d-i apt-setup/services-select multiselect security #d-i apt-setup/security_host string 192.168.16.241 #d-i apt-setup/security_path string /ubuntu d-i apt-setup/local0/repository string \ http://www.anheng.com.cn/loongson2f/`cat /etc/default-release` ./ d-i debian-installer/allow_unauthenticated string true # Package selection tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server bjlx linux-image-2.6.38-loongson-2f d-i pkgsel/upgrade select none d-i pkgsel/language-packs multiselect en, zh d-i pkgsel/update-policy select none # Boot loader installation #d-i grub-installer/only_debian boolean false # Finishing up the installation d-i finish-install/reboot_in_progress note