Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Option to Create Vagrant Box for Local Development with MAAS Image #147

Closed
wants to merge 8 commits into from
Closed

Add Option to Create Vagrant Box for Local Development with MAAS Image #147

wants to merge 8 commits into from

Conversation

andar1an
Copy link
Contributor

I want to start this PR to add functionality for Ubuntu Images to create a Vagrant box instead of an image for local development using the same image one will later use in MAAS.

This first line is to begin a discussion, as I can either create a new file or update the existing files and make commands.

I am new to Vagrant and help to decide the best method would be wonderful if this is seen as a useful update.

Thank you

@andar1an andar1an marked this pull request as draft October 16, 2023 15:41
@andar1an
Copy link
Contributor Author

I have tried to use the same pkr.hcl file, and launch vagrant with the lubvirt provider plugin to minimize work, however I come across permission issues connecting to libvert sockets, and adding my user to libvert or libvert-qemu groups does not solve.

Steps I took were:

`sudo apt install libvirt-daemon-system`
`sudo systemctl start libvirtd`
`sudo systemctl enable libvirtd`
`sudo apt install libvirt-dev`

`vagrant plugin install vagrant-libvirt`

And then run vagrant up with this provider:

`vagrant up --provider=libvirt`

Working on a separate VirtualBox file now.

@andar1an
Copy link
Contributor Author

I found this repo and this article

It looks like I may be able to use MAAS images in a virtual MAAS environment which means I don't need to create VirtualBox images for Vagrant after all!

Closing this PR now, as it seems to not be relevant. Cam reopen in future if I fail with above resources.

@andar1an andar1an closed this Oct 16, 2023
@andar1an andar1an deleted the ubuntu-vagrant-output branch October 16, 2023 21: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.

1 participant