Skip to content

Commit

Permalink
Use cloud-init to reboot the vms
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Feb 12, 2025
1 parent 9323ffc commit 47bf1d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/k3s-cluster/templates/user_data.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ runcmd:

ssh_authorized_keys:
- ${ssh_public_key}

power_state:
mode: reboot

0 comments on commit 47bf1d1

Please sign in to comment.