d-i preseed/url string http://www.anheng.com.cn/loongson2f/install/preseed.cfg

d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/local0/repository string \
       http://www.anheng.com.cn/bjlx `cat /etc/default-release` main
d-i debian-installer/allow_unauthenticated string true

# Package selection
tasksel tasksel/first multiselect standard
d-i pkgsel/include string grub-yeeloong openssh-server bjlx libc6-loongson2f linux-image-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

