Debian buster mirror repository has been built on IP: 192.168.1.20 physical machine.
Based on the shell mode, everything can be wget from the 192.168.1.20 machine.
But why during the installation, it’s wrong
Template:
Locale
d-i debian-installer/locale string en_US
country and keyboard settings are automatic. Keep them …
… for wheezy and newer:
d-i keyboard-configuration/xkb-keymap seen true
Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string lois-orahood.dmslabcloud.com
d-i netcfg/get_domain string dmslabcloud.com
d-i netcfg/wireless_wep string
Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string 192.168.1.20
d-i mirror/http/directory string /debian10
d-i mirror/http/protocol string http
d-i mirror/http/proxy string
d-i mirror/codename string buster
d-i mirror/suite string buster
d-i mirror/udeb/suite string buster
Time settings
d-i clock-setup/utc boolean true
d-i time/zone string UTC
Set alignment for automatic partitioning
Choices: cylinder, minimal, optimal
#d-i partman/alignment select cylinder
User settings
d-i passwd/root-login boolean true
d-i passwd/root-password-crypted password $5$DvvQ0fvFDVhRquIU$BGbrEQ5SBA4BUx2iOV9hUvqgQcFdvBQDfvZxMGRBPH2
#user-setup-udeb passwd/root-login boolean true
d-i passwd/make-user boolean false
#user-setup-udeb passwd/make-user boolean false
Install some base packages
d-i pkgsel/include string wget
#popularity-contest popularity-contest/participate boolean false
Boot loader settings
#grub-pc grub-pc/hidden_timeout boolean false
#grub-pc grub-pc/timeout string 10
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
d-i preseed/late_command string wget -Y off http://debian-foreman.dmslabcloud.com:8000/unattended/finish?token=8133ba5a-cd28-4f6b-baa4-8dde6d60f5e6 -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target /tmp/finish.sh