From b69f62ffb4fedb744325b9360a56b1b98c28c035 Mon Sep 17 00:00:00 2001 From: intern Date: Thu, 26 Jun 2025 14:00:01 +0200 Subject: [PATCH] 2025-06-26-14-00-01: Cronjob --- misc/.preseed.cfg.swp | Bin 1024 -> 0 bytes misc/debian-netinstaller/efi_nvme.cfg | 18 ++++++++++++++++++ misc/{ => debian-netinstaller}/preseed.cfg | 7 +++++-- 3 files changed, 23 insertions(+), 2 deletions(-) delete mode 100644 misc/.preseed.cfg.swp create mode 100644 misc/debian-netinstaller/efi_nvme.cfg rename misc/{ => debian-netinstaller}/preseed.cfg (95%) diff --git a/misc/.preseed.cfg.swp b/misc/.preseed.cfg.swp deleted file mode 100644 index b45008b5d8f73e43691f14b4714e681858c3818b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmYc?$V<%2S1{KzVn6{k0gMbq`S~R%f;c#tc_pbuc}6BUq~XH3nZ?Qa1x2aFsi`S? W$!Y0uiBZOA2#kgRJwhN9-4XzpRu1z3 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,