Skip to content

Comments

Autostart standalone#79

Merged
dupremathieu merged 4 commits intomainfrom
autostart_standalone
Feb 19, 2026
Merged

Autostart standalone#79
dupremathieu merged 4 commits intomainfrom
autostart_standalone

Conversation

@dupremathieu
Copy link
Member

Add a set_autostart method to LibVirtManager and expose it through a new autostart() function and CLI subcommand (--enable/--disable).

The create command now enables autostart by default (use --no-autostart to opt out).

Also fix the create command in standalone mode, reformat the code and add CLAUDE.md file.

Close #78

@dupremathieu dupremathieu requested a review from eroussy February 19, 2026 09:28
dupremathieu and others added 4 commits February 19, 2026 10:33
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Use cqfd -b format to reformat the code.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
The libvirt create command was not working because of the way the
arguments were handled in the vm_manager_cmd.py file. The arguments were
being set in a way that caused issues when the create command was
executed in standalone. This commit fixes the issue by checking for the
presence of the arguments before setting them, and by ensuring that the
enable argument is set correctly based on the disable argument.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Add a set_autostart method to LibVirtManager and expose it through
a new autostart() function and CLI subcommand (--enable/--disable).
The create command now enables autostart by default (use --no-autostart
to opt out).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
@dupremathieu dupremathieu force-pushed the autostart_standalone branch 5 times, most recently from 44cda9e to 693cd96 Compare February 19, 2026 12:22
@sonarqubecloud
Copy link

@dupremathieu dupremathieu merged commit f60c3e8 into main Feb 19, 2026
3 checks passed
@dupremathieu dupremathieu deleted the autostart_standalone branch February 19, 2026 14:21
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.

Flag to indicate VM autostart

2 participants