Skip to content

fix: wait for Incus VM agent before provisioning#6

Merged
ethannortharc merged 1 commit intomainfrom
fix/incus-wait-agent
Mar 10, 2026
Merged

fix: wait for Incus VM agent before provisioning#6
ethannortharc merged 1 commit intomainfrom
fix/incus-wait-agent

Conversation

@ethannortharc
Copy link
Copy Markdown
Owner

Polls the guest agent for up to 120s after launch/start before running commands. Fixes all 'VM agent isn't currently running' errors.

After `incus launch`, the NixOS guest agent takes time to start.
Provisioning commands fail with "VM agent isn't currently running"
if executed immediately. Now polls the agent for up to 120 seconds
before proceeding. Also waits on `start` for the same reason.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ethannortharc ethannortharc merged commit a19bf8b into main Mar 10, 2026
ethannortharc pushed a commit that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant