The VM resize in a92d4c1 worked but left the VM stopped: a VM started from
an Ansible task is stopped when the task ends. Nothing started the VM at
login either, so after a reboot Hermes's sandbox stayed down.
- launchd job local.podman-machine runs `podman machine start` at login;
the resize now starts the VM through it and waits until it's running.
- Hermes setting changes also restart the dashboard, which keeps its own
copy of the settings (it kept logging the old /workspace cwd).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
928 B
Django/Jinja
30 lines
928 B
Django/Jinja
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- {{ ansible_managed }} -->
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key>
|
|
<string>{{ podman_machine_label }}</string>
|
|
<!-- Starts the VM at login and exits; the VM keeps running on its own. -->
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/opt/podman/bin/podman</string>
|
|
<string>machine</string>
|
|
<string>start</string>
|
|
</array>
|
|
<key>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>PATH</key>
|
|
<string>/opt/podman/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
|
</dict>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
<key>KeepAlive</key>
|
|
<false/>
|
|
<key>StandardOutPath</key>
|
|
<string>{{ ansible_user_dir }}/Library/Logs/podman-machine.log</string>
|
|
<key>StandardErrorPath</key>
|
|
<string>{{ ansible_user_dir }}/Library/Logs/podman-machine.log</string>
|
|
</dict>
|
|
</plist>
|