fix: cloudinit instructions for the victim machine

This commit is contained in:
surtur 2021-05-14 07:43:26 +02:00
parent 2616b08ce2
commit 2b5ca96ad3
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -4,11 +4,10 @@
runcmd:
- cat /etc/resolv.conf
- uname -r
# - echo -e "[main]\ngpg_check=1\ninstallonly_limit=2\nclean_requirements_on_remove=True\nfastestmirror=True\nmax_parallel_downloads=7" > /etc/dnf/dnf.conf
- timedatectl set-ntp 1
- timedatectl set-timezone Europe/Bratislava
- dnf config-manager --set-enabled cr powertools
- sed -i "s/xfs * defaults *1 1/ext4 noatime 0 0/" /etc/fstab
- sed -i "s/xfs * defaults *0 0/xfs noatime 0 0/" /etc/fstab
write_files:
- content: |