AETHER-3388: Added rke2 to aether-in-a-box
Change-Id: I1e4e126f601f2ef49b7b184fcfb775a00be57e76
diff --git a/scripts/cloudlab-disksetup.sh b/scripts/cloudlab-disksetup.sh
index 10eb570..08bb6d0 100755
--- a/scripts/cloudlab-disksetup.sh
+++ b/scripts/cloudlab-disksetup.sh
@@ -59,7 +59,7 @@
sudo rm -rf /var/lib/libvirt/images
# create symlinks to /mnt/extra partition
-for DIR in docker kubelet openstack-helm nova libvirt/images
+for DIR in docker kubelet openstack-helm nova libvirt/images rancher
do
sudo mkdir -p "/mnt/extra/$DIR"
sudo chmod -R a+rwx "/mnt/extra/$DIR"
@@ -68,3 +68,6 @@
sudo ln -s "/mnt/extra/$DIR" "/var/lib/$DIR"
fi
done
+sudo mkdir -p "/mnt/extra/k3s"
+sudo chmod -R a+rwx "/mnt/extra/k3s"
+if [ ! -e "/run/k3s" ]; then sudo ln -s "/mnt/extra/k3s" "/run/k3s"; fi