kickstarter file creates user as usual with cloud-init installed

This commit is contained in:
2026-06-10 17:51:41 +02:00
parent 9a5d89843c
commit 38c336cc02

View File

@@ -9,15 +9,17 @@ timezone Europe/Berlin --utc
keyboard de keyboard de
lang en_US.UTF-8 lang en_US.UTF-8
rootpw --lock rootpw --lock
user --name=rocky --groups=wheel --lock user --name=rocky --groups=wheel
sshkey --username=rocky "${ssh_public_key}" sshkey --username=rocky "${ssh_public_key}"
%packages %packages
@^minimal-environment @^minimal-environment
%end %end
%post %post
echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel-nopasswd echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel-nopasswd
dnf install -y qemu-guest-agent curl dnf install -y qemu-guest-agent curl cloud-init
systemctl enable --now qemu-guest-agent systemctl enable --now qemu-guest-agent
systemctl enable cloud-init
cloud-init clean
touch /var/log/kickstart_post.log touch /var/log/kickstart_post.log
%end %end
reboot reboot