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.
2 parents 6e28122 + 5ce662d commit fdc54e0Copy full SHA for fdc54e0
pkg/cidata/cidata.TEMPLATE.d/boot/25-guestagent-base.sh
@@ -22,6 +22,9 @@ 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
+ # Convert .env to conf.d by wrapping values in double quotes.
26
+ # Split the variable and value at the first "=" to handle cases where the value contains additional "=" characters.
27
+ sed -E 's/^([^=]+)=(.*)/\1="\2"/' "${LIMA_CIDATA_MNT}/lima.env" >"/etc/conf.d/lima-guestagent"
28
# Install the openrc lima-guestagent service script
29
cat >/etc/init.d/lima-guestagent <<'EOF'
30
#!/sbin/openrc-run
0 commit comments