We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc59dff commit 2dbb2fdCopy full SHA for 2dbb2fd
pkg/cidata/cidata.TEMPLATE.d/boot/25-guestagent-base.sh
@@ -13,7 +13,6 @@ for f in $(seq 0 $((LIMA_CIDATA_MOUNTS - 1))); do
13
done
14
15
# Install or update the guestagent binary
16
-rm -f /usr/local/bin/lima-guestagent
17
install -m 755 "${LIMA_CIDATA_MNT}"/lima-guestagent /usr/local/bin/lima-guestagent
18
19
# Launch the guestagent service
@@ -36,5 +35,8 @@ EOF
36
35
rc-update add lima-guestagent default
37
rc-service lima-guestagent start
38
else
+ # Remove legacy systemd service
39
+ rm -f "/home/${LIMA_CIDATA_USER}.linux/.config/systemd/user/lima-guestagent.service"
40
+
41
sudo lima-guestagent install-systemd
42
fi
0 commit comments