Skip to content

Commit 6836aa6

Browse files
committed
pkg/cidata: socket path removal doesn't match lima-guestagents
for #1941 Signed-off-by: mhio <[email protected]>
1 parent f0f43cc commit 6836aa6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/07-etc-environment.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ if command -v loginctl >/dev/null 2>&1 && [ "${orig}" != "$(cat /etc/environment
1818
loginctl terminate-user "${LIMA_CIDATA_USER}" || true
1919
fi
2020

21-
# Make sure the guestagent socket from a previous boot is removed before we open the "lima-ssh-ready" gate.
22-
rm -f /run/lima-guest-agent.sock
23-
2421
# Signal that provisioning is done. The instance-id in the meta-data file changes on every boot,
2522
# so any copy from a previous boot cycle will have different content.
2623
cp "${LIMA_CIDATA_MNT}"/meta-data /run/lima-ssh-ready

0 commit comments

Comments
 (0)