The OS file system, like a container image, is image-based and immutable except in some directories. To temporarily enable the read-write mode, please use the following steps:
-
Boot/Reboot the system to GRUB menu. Press
ESC
to stay on the menu. -
Press
e
on first menuentry. Appendrd.cos.debugrw
to thelinux (loop0)$kernel $kernelcmd
line.
- Press
Ctrl + x
to boot the system.
Download Harvester cluster kubeconfig from Harvester UI, Then execute the following commands:
wget https://raw.githubusercontent.com/futuretea/harvester/multi-csi-1.1/patch-harvester-1.1-multi-csi.sh
chmod +x patch-harvester-1.1-multi-csi.sh
# the first arg is the kubeconfig file path of Harvester cluster
# the second arg is docker image repo
# the third arg is docker image tag
# these images are built from https://github.com/futuretea/harvester/tree/multi-csi-1.1
# include backend and ui support for multi csi
# docker.io/futuretea/harvester:adfc2c7b-amd64
# docker.io/futuretea/harvester-webhook:adfc2c7b-amd64
./patch-harvester-1.1-multi-csi.sh local.yaml futuretea adfc2c7b-amd64
SSH into each Harvester node, Then execute the following commands:
sudo su
# selinux workaround
mv /var/lib/selinux/targeted/active /var/lib/selinux/targeted/previous
cp --link --recursive /var/lib/selinux/targeted/previous /var/lib/selinux/targeted/active
semodule -d k3s -d rancher