diff --git a/misc/.preseed.cfg.swp b/misc/.preseed.cfg.swp deleted file mode 100644 index b45008b..0000000 Binary files a/misc/.preseed.cfg.swp and /dev/null differ diff --git a/misc/debian-netinstaller/efi_nvme.cfg b/misc/debian-netinstaller/efi_nvme.cfg new file mode 100644 index 0000000..3d8ed96 --- /dev/null +++ b/misc/debian-netinstaller/efi_nvme.cfg @@ -0,0 +1,18 @@ +# ### NOT managed by linuxmuster.net ### + +# edit to your needs +set default=1 +# seconds until autostart of menuentry... +set timeout=10 + +menuentry 'Installer Debian bookworm (amd64) + preseed + ansible inventory' { +# echo -n "Enter domain join password: " +# read adpw + set vaultpw="dummy" + # echo -n "Enter vault password" + # read vaultpw + linux (http,git.wvs.schule)/wvss/lmn-client/misc/debian-netinstaller/linux auto=true priority=critical \ + url=http://git.wvs.schule/wvss/lmn-client/misc/debian-netinstaller/preseed.cfg interface=auto \ + playbook=lmn-client.yml adpw="${adpw}" vaultpw="${vaultpw}" --- + initrd (http,git.wvs.schule)/wvss/lmn-client/misc/debian-netinstaller/initrd.gz +} diff --git a/misc/preseed.cfg b/misc/debian-netinstaller/preseed.cfg similarity index 95% rename from misc/preseed.cfg rename to misc/debian-netinstaller/preseed.cfg index 23be6f6..c563d6a 100644 --- a/misc/preseed.cfg +++ b/misc/debian-netinstaller/preseed.cfg @@ -24,17 +24,20 @@ ## To set the hostname manually during installation, use priority=high ## as boot parameter and uncomment this line: -d-i debconf/priority string critical +#d-i debconf/priority string critical ## Preseeding only locale sets language, country and locale: d-i debian-installer/locale string de_DE d-i keyboard-configuration/xkb-keymap select de ## Use hostname assigned by DHCP: +d-i netcfg/get_hostname string +d-i netcfg/get_domain string d-i netcfg/get_hostname seen true d-i netcfg/get_domain seen true #d-i netcfg/get_hostname string unassigned-hostname #d-i netcfg/get_domain string unassigned-domain +d-i netcfg/disable_dhcp boolean false ## Skip root account: d-i passwd/root-login boolean false @@ -130,7 +133,7 @@ d-i preseed/late_command string \ echo "$vaultpw" > /target/dev/shm/vaultpw ; \ in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \ --vault-password-file /dev/shm/vaultpw -l localhost \ - -i inventory-sample.yml --url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git -C main $playbook ; \ + -i inventory-sample.yml --url=https://git.wvs.schule/wvss/lmn-client.git -C main $playbook ; \ fi # ## When installing in combination with ansible-pull,