2025-06-26-14-00-01: Cronjob
This commit is contained in:
parent
bd630420db
commit
b69f62ffb4
3 changed files with 23 additions and 2 deletions
Binary file not shown.
18
misc/debian-netinstaller/efi_nvme.cfg
Normal file
18
misc/debian-netinstaller/efi_nvme.cfg
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
@ -24,17 +24,20 @@
|
||||||
|
|
||||||
## To set the hostname manually during installation, use priority=high
|
## To set the hostname manually during installation, use priority=high
|
||||||
## as boot parameter and uncomment this line:
|
## 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:
|
## Preseeding only locale sets language, country and locale:
|
||||||
d-i debian-installer/locale string de_DE
|
d-i debian-installer/locale string de_DE
|
||||||
d-i keyboard-configuration/xkb-keymap select de
|
d-i keyboard-configuration/xkb-keymap select de
|
||||||
|
|
||||||
## Use hostname assigned by DHCP:
|
## 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_hostname seen true
|
||||||
d-i netcfg/get_domain seen true
|
d-i netcfg/get_domain seen true
|
||||||
#d-i netcfg/get_hostname string unassigned-hostname
|
#d-i netcfg/get_hostname string unassigned-hostname
|
||||||
#d-i netcfg/get_domain string unassigned-domain
|
#d-i netcfg/get_domain string unassigned-domain
|
||||||
|
d-i netcfg/disable_dhcp boolean false
|
||||||
|
|
||||||
## Skip root account:
|
## Skip root account:
|
||||||
d-i passwd/root-login boolean false
|
d-i passwd/root-login boolean false
|
||||||
|
|
@ -130,7 +133,7 @@ d-i preseed/late_command string \
|
||||||
echo "$vaultpw" > /target/dev/shm/vaultpw ; \
|
echo "$vaultpw" > /target/dev/shm/vaultpw ; \
|
||||||
in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \
|
in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \
|
||||||
--vault-password-file /dev/shm/vaultpw -l localhost \
|
--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
|
fi
|
||||||
#
|
#
|
||||||
## When installing in combination with ansible-pull,
|
## When installing in combination with ansible-pull,
|
||||||
Loading…
Add table
Reference in a new issue