Skip to content

Allow the user to specify full box name in 'netlab libvirt package'#3422

Merged
ipspace merged 3 commits into
devfrom
libvirt-custom-boxes
May 21, 2026
Merged

Allow the user to specify full box name in 'netlab libvirt package'#3422
ipspace merged 3 commits into
devfrom
libvirt-custom-boxes

Conversation

@ipspace
Copy link
Copy Markdown
Owner

@ipspace ipspace commented May 21, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends netlab libvirt package so the “box version” prompt can also accept boxname:version (and namespace/boxname:version) input, enabling users to override the default box name while packaging and installing a libvirt Vagrant box.

Changes:

  • Added box name/version parsing + validation to support full (namespace/box:ver) and partial (box:ver) box naming in the packaging flow.
  • Adjusted generated metadata filename/description when a non-default box name is used.
  • Documented the supported version/name input formats in the libvirt docs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
netsim/cli/libvirt/package.py Adds parsing/validation for boxname:version inputs and updates metadata naming based on chosen box name.
docs/netlab/libvirt.md Documents the three accepted formats for specifying box name/version during packaging.

Comment thread netsim/cli/libvirt/package.py Outdated
Comment thread netsim/cli/libvirt/package.py Outdated
ipspace and others added 2 commits May 21, 2026 17:55
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ipspace ipspace merged commit a6ef0f7 into dev May 21, 2026
11 checks passed
@ipspace ipspace deleted the libvirt-custom-boxes branch May 21, 2026 16:19
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.

2 participants