mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 18:26:50 +02:00
Try installing kernel via packages in cloud init script
This commit is contained in:
@@ -11,6 +11,8 @@ users:
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
ssh_authorized_keys:
|
||||
- ${terraform_public_ssh_key}
|
||||
packages:
|
||||
- linux-generic-hwe-22.04
|
||||
package_update: true
|
||||
package_upgrade: true
|
||||
package_reboot_if_required: true
|
||||
|
||||
@@ -11,6 +11,8 @@ users:
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
ssh_authorized_keys:
|
||||
- ${terraform_public_ssh_key}
|
||||
packages:
|
||||
- linux-generic-hwe-22.04
|
||||
package_update: true
|
||||
package_upgrade: true
|
||||
package_reboot_if_required: true
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
apt-get -y install fail2ban
|
||||
apt-get -y install ufw
|
||||
apt-get -y install snapd
|
||||
apt-get -y install linux-generic-hwe-22.04
|
||||
|
||||
curl https://packages.hetzner.com/hcloud/deb/hc-utils_0.0.4-1_all.deb -o /run/tmpfiles.d/hc-utils_0.0.4-1_all.deb -s
|
||||
apt-get -y install /run/tmpfiles.d/hc-utils_0.0.4-1_all.deb
|
||||
|
||||
Reference in New Issue
Block a user