feat: k0s remove isolated controllers support and ansible prepare playbook (#1205)

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-19 17:35:33 -05:00
1 parent 09c00c9468
commit 965bfcdcb9
11 files changed
+147 -74

No files matched your search

@@ -0,0 +1,11 @@
#% if bootstrap_distribution == 'k0s' %#
#!/usr/bin/env bash
[ $(id -u) -eq 0 ] || exec sudo $0 $@
# Remove local storage data
rm -rf "#{ bootstrap_local_storage_path }#"
# Reboot
(sleep 10 && systemctl reboot)&
#% endif %#