feat: k0s remove isolated controllers support and ansible prepare playbook (#1205)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
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 %#
|
||||
Reference in new issue
Block a user