#% if bootstrap_distribution == 'k0s' %# #!/usr/bin/env bash set -e set -o noglob [ $(id -u) -eq 0 ] || exec sudo $0 $@ # Remove containerd config rm -rf /etc/k0s/containerd.d # Remove local storage data rm -rf "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#" # Reboot (sleep 10 && systemctl reboot)& #% endif %#