Created
April 10, 2019 10:16
-
-
Save dapao9999/872138ecdaaa0ded00714b12d4eae5ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i debian-installer/locale string en_US | |
d-i console-setup/layoutcode string us | |
d-i keyboard-configuration/xkb-keymap string us | |
d-i netcfg/choose_interface select $IFETH | |
d-i netcfg/disable_autoconfig boolean true | |
d-i netcfg/dhcp_failed note | |
d-i netcfg/dhcp_options select Configure network manually | |
d-i netcfg/get_ipaddress string $IPv4 | |
d-i netcfg/get_netmask string $MASK | |
d-i netcfg/get_gateway string $GATE | |
d-i netcfg/get_nameservers string 8.8.8.8 | |
d-i netcfg/no_default_route boolean true | |
d-i netcfg/confirm_static boolean true | |
d-i hw-detect/load_firmware boolean true | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string $MirrorHost | |
d-i mirror/http/directory string $MirrorFolder | |
d-i mirror/http/proxy string | |
d-i passwd/root-login boolean ture | |
d-i passwd/make-user boolean false | |
d-i passwd/root-password-crypted password $myPASSWORD | |
d-i user-setup/allow-password-weak boolean true | |
d-i user-setup/encrypt-home boolean false | |
d-i clock-setup/utc boolean true | |
d-i time/zone string US/Eastern | |
d-i clock-setup/ntp boolean true | |
d-i preseed/early_command string anna-install libfuse2-udeb fuse-udeb ntfs-3g-udeb fuse-modules-${vKernel_udeb}-amd64-di | |
d-i partman/early_command string \ | |
debconf-set partman-auto/disk "\$(list-devices disk |head -n1)"; \ | |
wget -qO- '$DDURL' |gunzip -dc |/bin/dd of=\$(list-devices disk |head -n1); \ | |
mount.ntfs-3g \$(list-devices partition |head -n1) /mnt; \ | |
cd '/mnt/ProgramData/Microsoft/Windows/Start Menu/Programs'; \ | |
cd Start* || cd start*; \ | |
cp -f '/net.bat' './net.bat'; \ | |
/sbin/reboot; \ | |
debconf-set grub-installer/bootdev string "\$(list-devices disk |head -n1)"; \ | |
umount /media || true; \ | |
d-i partman/mount_style select uuid | |
d-i partman-auto/init_automatically_partition select Guided - use entire disk | |
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-auto/choose_recipe select atomic | |
d-i partman-partitioning/confirm_write_new_label boolean true | |
d-i partman/choose_partition select finish | |
d-i partman-lvm/confirm boolean true | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
d-i debian-installer/allow_unauthenticated boolean true | |
tasksel tasksel/first multiselect minimal | |
d-i pkgsel/update-policy select none | |
d-i pkgsel/include string openssh-server | |
d-i pkgsel/upgrade select none | |
popularity-contest popularity-contest/participate boolean false | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/bootdev string default | |
d-i finish-install/reboot_in_progress note | |
d-i debian-installer/exit/reboot boolean true | |
d-i preseed/late_command string \ | |
sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /target/etc/ssh/sshd_config; \ | |
sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /target/etc/ssh/sshd_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment