File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
pkg/cidata/cidata.TEMPLATE.d Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
43
43
USER_SCRIPT=" /home/${LIMA_CIDATA_USER} .linux/.lima-user-script"
44
44
if [ -d " ${LIMA_CIDATA_MNT} " /provision.user ]; then
45
- if [ ! -f /etc/alpine-release ]; then
45
+ if [ ! -f /sbin/openrc-init ]; then
46
46
until [ -e " /run/user/${LIMA_CIDATA_UID} /systemd/private" ]; do sleep 3; done
47
47
fi
48
48
for f in " ${LIMA_CIDATA_MNT} " /provision.user/* ; do
Original file line number Diff line number Diff line change 16
16
install -m 755 " ${LIMA_CIDATA_MNT} " /lima-guestagent /usr/local/bin/lima-guestagent
17
17
18
18
# Launch the guestagent service
19
- if [ -f /etc/alpine-release ]; then
19
+ if [ -f /sbin/openrc-init ]; then
20
20
# Install the openrc lima-guestagent service script
21
21
cat > /etc/init.d/lima-guestagent << 'EOF '
22
22
#!/sbin/openrc-run
You can’t perform that action at this time.
0 commit comments