# 官方示例: https://www.debian.org/releases/bullseye/example-preseed.txt # 语言 d-i debian-installer/language string en # 国家 d-i debian-installer/country string CN # Locale 设置 d-i debian-installer/locale string en_US.UTF-8 d-i localechooser/supported-locales multiselect en_US.UTF-8, zh_CN.UTF-8 # 键盘设置 d-i keyboard-configuration/xkb-keymap select us d-i netcfg/choose_interface select auto d-i netcfg/hostname string debian # Root password d-i passwd/root-password password r00tme d-i passwd/root-password-again password r00tme # To create a normal user account. d-i passwd/user-fullname string debian d-i passwd/username string debian d-i passwd/user-password password debian d-i passwd/user-password-again password debian # Create the first user with the specified UID instead of the default. #d-i passwd/user-uid string 1000 # 镜像设置 d-i mirror/protocol string https d-i mirror/country string CN d-i mirror/http/hostname string mirrors.tuna.tsinghua.edu.cn d-i mirror/http/directory string /debian d-i mirror/http/proxy string d-i mirror/https/hostname string mirrors.tuna.tsinghua.edu.cn d-i mirror/https/directory string /debian d-i mirror/https/proxy string # 源里包含 non-free, contrib, non-free-firmware d-i apt-setup/non-free boolean true d-i apt-setup/contrib boolean true d-i apt-setup/non-free-firmware boolean true d-i apt-setup/services-select multiselect security, updates d-i apt-setup/security_host string mirrors.tuna.tsinghua.edu.cn d-i apt-setup/security_protocol string https ### Package selection #tasksel tasksel/first multiselect standard, web-server, kde-desktop #tasksel tasksel/first multiselect standard, ssh-server, desktop tasksel tasksel/first multiselect standard, ssh-server # Individual additional packages to install #d-i pkgsel/include string build-essential d-i pkgsel/include string vim curl tmux p7zip-full nfs-common zip unzip unar python3-virtualenvwrapper fonts-noto-cjk fonts-wqy-microhei fonts-wqy-zenhei d-i pkgsel/upgrade select none d-i clock-setup/ntp boolean true #d-i grub-installer/only_debian boolean true