We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b28413f + 4acc2fd commit 2c84e0cCopy full SHA for 2c84e0c
pkg/cidata/cidata.TEMPLATE.d/boot/02-wsl2-setup.sh
@@ -12,6 +12,5 @@ sudo chown "${LIMA_CIDATA_USER}" "${LIMA_CIDATA_HOME}"/.ssh/authorized_keys
12
# add $LIMA_CIDATA_USER to sudoers
13
echo "${LIMA_CIDATA_USER} ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/99_lima_sudoers
14
15
-# copy some CIDATA to the hardcoded path for requirement checks (TODO: make this not hardcoded)
16
-sudo mkdir -p /mnt/lima-cidata
17
-sudo cp "${LIMA_CIDATA_MNT}"/meta-data /mnt/lima-cidata/meta-data
+# symlink CIDATA to the hardcoded path for requirement checks (TODO: make this not hardcoded)
+sudo ln -sfFn "${LIMA_CIDATA_MNT}" /mnt/lima-cidata
0 commit comments