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 835263d commit 7c19693Copy full SHA for 7c19693
pkg/cidata/cidata.TEMPLATE.d/boot/25-guestagent-base.sh
@@ -22,6 +22,8 @@ install -m 755 "${LIMA_CIDATA_MNT}"/lima-guestagent "${LIMA_CIDATA_GUEST_INSTALL
22
23
# Launch the guestagent service
24
if [ -f /sbin/openrc-run ]; then
25
+ # Export LIMA_CIDATA_* for service
26
+ awk -F= '{ print $1 "=\"" $2 "\"" }' "${LIMA_CIDATA_MNT}/lima.env" >"/etc/conf.d/lima-guestagent"
27
# Install the openrc lima-guestagent service script
28
cat >/etc/init.d/lima-guestagent <<'EOF'
29
#!/sbin/openrc-run
0 commit comments