chore: cloudinit updates
* add sleep times * add creating a call-sign file for ansible (waitpls waits for a certain file) * use more bootcmd (runs early) * switch to 'package_upgrade: true' everywhere (again)
This commit is contained in:
parent
1df3c9d8cf
commit
cb3a7f980c
@ -1,6 +1,19 @@
|
||||
#cloud-config
|
||||
# vim: ft=yaml
|
||||
|
||||
bootcmd:
|
||||
- cat /etc/resolv.conf
|
||||
- uname -r
|
||||
- timedatectl set-ntp 1
|
||||
- timedatectl set-timezone Europe/Bratislava
|
||||
- systemctl disable --now dnf-makecache.timer
|
||||
- systemctl stop systemd-resolved
|
||||
- echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||
- dnf config-manager --set-disabled fedora-cisco-openh264
|
||||
- dnf config-manager --set-enabled updates updates-testing
|
||||
- sed -i "s/ext4 * defaults *1 1/ext4 noatime 0 0/" /etc/fstab
|
||||
- sleep 10
|
||||
|
||||
runcmd:
|
||||
- cat /etc/resolv.conf
|
||||
- uname -r
|
||||
@ -12,6 +25,7 @@ runcmd:
|
||||
- dnf distro-sync -y
|
||||
- dnf clean all
|
||||
- sed -i "s/ext4 * defaults *1 1/ext4 noatime 0 0/" /etc/fstab
|
||||
- touch /.plsgo
|
||||
|
||||
write_files:
|
||||
- content: |
|
||||
@ -87,5 +101,5 @@ packages:
|
||||
- tcpflow
|
||||
- tcptrack
|
||||
|
||||
package_upgrade: false
|
||||
package_upgrade: true
|
||||
package_reboot_if_required: true
|
||||
|
@ -15,6 +15,7 @@ bootcmd:
|
||||
- sleep 10
|
||||
|
||||
runcmd:
|
||||
- sleep 10
|
||||
- cat /etc/resolv.conf
|
||||
- uname -r
|
||||
- dnf upgrade --refresh -y
|
||||
@ -144,5 +145,5 @@ packages:
|
||||
- ncurses-libs
|
||||
- ncurses-static
|
||||
|
||||
package_upgrade: false
|
||||
package_upgrade: true
|
||||
package_reboot_if_required: true
|
||||
|
@ -1,6 +1,9 @@
|
||||
#cloud-config
|
||||
# vim: ft=yaml
|
||||
|
||||
bootcmd:
|
||||
- sleep 20
|
||||
|
||||
runcmd:
|
||||
- cat /etc/resolv.conf
|
||||
- uname -r
|
||||
@ -8,6 +11,7 @@ runcmd:
|
||||
- timedatectl set-timezone Europe/Bratislava
|
||||
- dnf config-manager --set-enabled cr powertools
|
||||
- sed -i "s/xfs * defaults *0 0/xfs noatime 0 0/" /etc/fstab
|
||||
- touch /.plsgo
|
||||
|
||||
write_files:
|
||||
- content: |
|
||||
|
@ -1,7 +1,8 @@
|
||||
#cloud-config
|
||||
# vim: ft=yaml
|
||||
|
||||
runcmd:
|
||||
bootcmd:
|
||||
- sleep 10
|
||||
- cat /etc/resolv.conf
|
||||
- uname -r
|
||||
- timedatectl set-ntp 1
|
||||
|
Loading…
Reference in New Issue
Block a user