1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
| d-i auto-install/enable boolean true d-i debconf/priority string critical d-i debian-installer/framebuffer false
d-i debian-installer/locale string en_US.UTF-8
d-i console-setup/ask_detect boolean false d-i keyboard-configuration/layoutcode string us
d-i netcfg/enable boolean true d-i netcfg/disable_autoconfig boolean false d-i netcfg/wireless_wep string d-i netcfg/target_network_config select ifupdown d-i apt-setup/use_mirror boolean false d-i netcfg/get_hostname string SetHostName
d-i mirror/country string manual
d-i apt-setup/main boolean true d-i apt-setup/non-free boolean false d-i apt-setup/contrib boolean false d-i apt-setup/source boolean false d-i apt-setup/use_mirror boolean false d-i apt-setup/services-select none d-i apt-setup/security_host string d-i debian-installer/allow_unauthenticated string true
d-i user-setup/encrypt-home boolean false d-i passwd/make-user boolean true d-i passwd/user-fullname string Ubuntu d-i passwd/username string ubuntu d-i passwd/user-password-crypted password $1$askfoQNC$BlJ4xig42ggQNWZoxcDTu/
d-i clock-setup/utc boolean false d-i time/zone string Asia/Shanghai d-i clock-setup/ntp boolean false
d-i partman/early_command string \ debconf-set partman-auto/disk "$(list-devices disk | head -1)"; \ debconf-set grub-installer/bootdev "$(list-devices disk | head -1)";
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-md/device_remove_regular boolean true d-i partman-lvm/confirm boolean false d-i partman/default_filesystem string ext4
d-i partman-auto/expert_recipe string \ boot-root :: \ 5000 512 5000 ext4 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } . \ 2000 1024 2000 linux-swap \ $primary{ } \ method{ swap } format{ } . \ 1000 2048 -1 ext4 \ $primary{ } \ method{ keep } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /keep } .
d-i partman/confirm_write_new_label boolean true 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 d-i partman-efi/non_efi_system boolean true
tasksel tasksel/first multiselect standard d-i pkgsel/update-policy select none d-i pkgsel/upgrade select none d-i pkgsel/updatedb boolean false d-i pkgsel/include string openssh-server vim ethtool bridge-utils vlan ifenslave curl dmidecode
d-i lilo-installer/skip boolean true d-i grub-installer/skip boolean false d-i grub-installer/with_other_os boolean false d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note d-i cdrom-detect/eject boolean true d-i debian-installer/exit/reboot boolean true
|