small tweaks
This commit is contained in:
parent
a0d3cb2ffd
commit
7bdd555e1a
2
init.tf
2
init.tf
@ -30,7 +30,7 @@ resource "null_resource" "first_control_plane" {
|
|||||||
inline = local.install_k3s_server
|
inline = local.install_k3s_server
|
||||||
}
|
}
|
||||||
|
|
||||||
# Upon reboot verify start k3s and wait for it to be ready to receive commands
|
# Upon reboot start k3s and wait for it to be ready to receive commands
|
||||||
provisioner "remote-exec" {
|
provisioner "remote-exec" {
|
||||||
inline = [
|
inline = [
|
||||||
"systemctl start k3s",
|
"systemctl start k3s",
|
||||||
|
@ -18,4 +18,4 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- /usr/bin/kured
|
- /usr/bin/kured
|
||||||
- --reboot-command=/usr/bin/systemctl reboot
|
- --reboot-command=/usr/bin/systemctl reboot
|
||||||
- --reboot-sentinel=/var/run/reboot-needed
|
- --reboot-sentinel=/var/run/reboot-needed
|
||||||
|
Loading…
Reference in New Issue
Block a user