fix(k0s): clean up local path storage on reset

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-18 23:44:16 -05:00
1 parent f355b52326
commit cec32120db
1 file changed
+1
@@ -52,6 +52,7 @@ spec:
- sudo ip6tables -X
- sudo rm -rf /etc/cni/net.d
after:
- sudo rm -rf #{ bootstrap_local_storage_path }#
- nohup sudo -b bash -c 'sleep 5; reboot' &>/dev/null
#% else %#
#% if item.role | default('') != 'controller' %#