File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
cidata/cidata.TEMPLATE.d/boot Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
# This example requires Lima v0.7.0 or later
2
2
images :
3
3
# Hint: run `limactl prune` to invalidate the "Current" cache
4
- - location : https://download.opensuse.org/distribution/leap/15.3 /appliances/openSUSE-Leap-15.3 -JeOS.x86_64-15.3 -OpenStack-Cloud-Current.qcow2
4
+ - location : https://download.opensuse.org/distribution/leap/15.4 /appliances/openSUSE-Leap-15.4 -JeOS.x86_64-15.4 -OpenStack-Cloud-Current.qcow2
5
5
arch : " x86_64"
6
6
# No aarch64 OpenStack build found :(
7
7
mounts :
Original file line number Diff line number Diff line change 2
2
set -eux
3
3
4
4
update_fuse_conf () {
5
- # Modify /etc/fuse.conf to allow "-o allow_root"
5
+ # Modify /etc/fuse.conf (/etc/fuse3.conf) to allow "-o allow_root"
6
6
if [ " ${LIMA_CIDATA_MOUNTS} " -gt 0 ]; then
7
- if ! grep -q " ^user_allow_other" /etc/fuse.conf; then
8
- echo " user_allow_other" >> /etc/fuse.conf
7
+ fuse_conf=" /etc/fuse.conf"
8
+ if [ -e /etc/fuse3.conf ]; then
9
+ fuse_conf=" /etc/fuse3.conf"
10
+ fi
11
+ if ! grep -q " ^user_allow_other" " ${fuse_conf} " ; then
12
+ echo " user_allow_other" >> " ${fuse_conf} "
9
13
fi
10
14
fi
11
15
}
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ A possible workaround is to run "apt-get install sshfs" in the guest.
104
104
` ,
105
105
})
106
106
req = append (req , requirement {
107
- description : "/etc/fuse.conf to contain \" user_allow_other\" " ,
107
+ description : "/etc/fuse.conf (/etc/fuse3.conf) to contain \" user_allow_other\" " ,
108
108
script : `#!/bin/bash
109
109
set -eux -o pipefail
110
- if ! timeout 30s bash -c "until grep -q ^user_allow_other /etc/fuse.conf; do sleep 3; done"; then
111
- echo >&2 "/etc/fuse.conf is not updated to contain \"user_allow_other\""
110
+ if ! timeout 30s bash -c "until grep -q ^user_allow_other /etc/fuse* .conf; do sleep 3; done"; then
111
+ echo >&2 "/etc/fuse.conf (/etc/fuse3.conf) is not updated to contain \"user_allow_other\""
112
112
exit 1
113
113
fi
114
114
` ,
115
- debugHint : `Append "user_allow_other" to /etc/fuse.conf in the guest` ,
115
+ debugHint : `Append "user_allow_other" to /etc/fuse.conf (/etc/fuse3.conf) in the guest` ,
116
116
})
117
117
118
118
}
You can’t perform that action at this time.
0 commit comments