* feat: move various config options to advanced flags Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: remove lp refs Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
12 lines
278 B
Django/Jinja
Executable File
12 lines
278 B
Django/Jinja
Executable File
#% if bootstrap_distribution == 'k0s' %#
|
|
#!/usr/bin/env bash
|
|
|
|
[ $(id -u) -eq 0 ] || exec sudo $0 $@
|
|
|
|
# Remove local storage data
|
|
rm -rf "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
|
|
|
|
# Reboot
|
|
(sleep 10 && systemctl reboot)&
|
|
#% endif %#
|