mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 22:06:51 +02:00
Try launch configuration as non-hidden file
This commit is contained in:
@@ -17,7 +17,7 @@ package_reboot_if_required: true
|
||||
write_files:
|
||||
- owner: root:root
|
||||
content: "${microk8s_config}"
|
||||
path: /run/tmpfiles.d/.microk8s.yaml
|
||||
path: /run/tmpfiles.d/microk8s.yaml
|
||||
encoding: base64
|
||||
defer: true
|
||||
- owner: root:root
|
||||
|
||||
@@ -17,7 +17,7 @@ package_reboot_if_required: true
|
||||
write_files:
|
||||
- owner: root:root
|
||||
content: "${microk8s_config}"
|
||||
path: /run/tmpfiles.d/.microk8s.yaml
|
||||
path: /run/tmpfiles.d/microk8s.yaml
|
||||
encoding: base64
|
||||
defer: true
|
||||
- owner: root:root
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /var/snap/microk8s/common/etc/launcher
|
||||
cp /run/tmpfiles.d/.microk8s.yaml /var/snap/microk8s/common/etc/launcher/.microk8s.yaml
|
||||
cp /run/tmpfiles.d/microk8s.yaml /var/snap/microk8s/common/etc/launcher/microk8s.yaml
|
||||
%{ if !main_node ~}
|
||||
sleep 120
|
||||
%{ endif ~}
|
||||
|
||||
Reference in New Issue
Block a user