Skip to content

fix(vm): disable NetworkManager not systemd-networkd when both enabled#83

Merged
adamamyl merged 1 commit into
mainfrom
fix/networkd-disable-wrong-service
Jun 20, 2026
Merged

fix(vm): disable NetworkManager not systemd-networkd when both enabled#83
adamamyl merged 1 commit into
mainfrom
fix/networkd-disable-wrong-service

Conversation

@adamamyl

Copy link
Copy Markdown
Owner

Summary

  • virtmachine.py was disabling systemd-networkd when both NM and systemd-networkd were found enabled — exactly backwards from what we want
  • VM setup requires systemd-networkd (cloud-init also explicitly enables it); NetworkManager should be the one removed
  • Added --now so the service stops immediately, not just on next boot

Test plan

  • Fresh VM: confirm systemd-networkd remains active after setup
  • /mnt/utm mounts correctly (was failing due to network target confusion)

🤖 Generated with Claude Code

https://claude.ai/code/session_01P4Hxvsa529m9F6d6dxLCiG

Conflict resolution was backwards: we want systemd-networkd for VM
networking. Also add --now so the service stops immediately.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P4Hxvsa529m9F6d6dxLCiG
@adamamyl adamamyl merged commit 7f59336 into main Jun 20, 2026
1 of 3 checks passed
@adamamyl adamamyl deleted the fix/networkd-disable-wrong-service branch June 20, 2026 18:35
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