If the k3s binary is launched after the deletion of `/var/lib/rancher/k3s`, k3s
will automatically create this directory. This change deletes the k3s binary
first so that it cannot be called after `/var/lib/rancher/k3s` is deleted
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
* Clean /var/lib/kubelet before /var/lib/rancher/k3s.
* Umount the filesystem tree in reverse order, to ensure the root
is umounted last.
Signed-off-by: Staf Wagemakers <staf@wagemakers.be>