tweaked cloud-init

This commit is contained in:
Karim Naufal
2022-02-28 15:35:09 +01:00
parent bb1ba49936
commit 33c62d0c42
2 changed files with 10 additions and 9 deletions

View File

@@ -49,15 +49,6 @@ resource "hcloud_server" "server" {
done
EOT
}
provisioner "remote-exec" {
inline = [
# Disable automatic reboot (after transactional updates), and configure the reboot method as kured
"set -ex",
"rebootmgrctl set-strategy off",
"echo 'REBOOT_METHOD=kured' > /etc/transactional-update.conf",
]
}
}
resource "hcloud_server_network" "server" {