Skip to content

Commit 4baa6ee

Browse files
authored
Merge pull request #59 from mook-as/lima-init/sshfs-no-mount
lima-init: work around invalid sshfs mounts
2 parents 77b03e3 + 5fb7112 commit 4baa6ee

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lima-init.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ awk -f- "${LIMA_CIDATA_MNT}"/user-data <<'EOF' >>"${MOUNT_SCRIPT}"
6161
sub(/^ *- \[/, "")
6262
sub(/"?\] *$/, "")
6363
gsub("\"?, \"?", FS)
64+
if ($3 == "sshfs") {
65+
# Workaround for RD #9478: sshfs mounts should not be handled here.
66+
next
67+
}
6468
printf "mkdir -p \"%s\"\n", $2
6569
printf "mount -t %s -o \"%s\" %s \"%s\"\n", $3, $4, $1, $2
6670
next

0 commit comments

Comments
 (0)