diff --git a/doc/install_pxe.md b/doc/install_pxe.md index bfe7a8d..2acfa32 100644 --- a/doc/install_pxe.md +++ b/doc/install_pxe.md @@ -25,9 +25,12 @@ set default=1 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,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux auto=true priority=high \ url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client/raw/branch/fvs/misc/preseed.cfg interface=auto \ - playbook=lmn-client.yml adpw="${adpw}" --- + playbook=lmn-client.yml adpw="${adpw}" vaultpw="${vaultpw}" --- initrd (http,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz } ``` diff --git a/misc/preseed.cfg b/misc/preseed.cfg index 09c6cfe..2cbe370 100644 --- a/misc/preseed.cfg +++ b/misc/preseed.cfg @@ -50,13 +50,11 @@ d-i apt-setup/contrib boolean true d-i mirror/country string manual d-i mirror/http/hostname string deb.debian.org d-i mirror/http/directory string /debian -#d-i mirror/http/proxy string http://10.167.0.253:3142/ -#d-i mirror/http/proxy string http://192.168.1.17:3142/ -#d-i mirror/http/proxy string http://aptcache.steinbeisschule-reutlingen.de:3142/ -d-i mirror/http/proxy string http://aptcache.pn.steinbeis.schule:3142/ +#d-i mirror/http/proxy string http://aptcache.pn.steinbeis.schule:3142/ +d-i mirror/http/proxy string # NTP server to use: -d-i clock-setup/ntp-server string server.pn.steinbeis.schule +#d-i clock-setup/ntp-server string server.pn.steinbeis.schule ### Backports: #apt-setup-udeb apt-setup/services-select multiselect security, updates, backports @@ -129,10 +127,9 @@ d-i preseed/late_command string \ in-target mount -v -t tmpfs tmpfs /dev/shm ; \ echo "$vaultpw" > /target/dev/shm/vaultpw ; \ in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \ - -l localhost \ - -i inventory-sample.yml --url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git -C fvs $playbook ; \ + --vault-password-file /dev/shm/vaultpw -l localhost \ + -i inventory-sample.yml --url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client.git -C main $playbook ; \ fi -## --vault-password-file /dev/shm/vaultpw -l localhost \ # ## When installing in combination with ansible-pull, ## export your ansible playbook like: