Ask Your Question
0

Is there a way to use vagrant up on the learning VM?

asked 2016-11-07 10:10:36 -0500

I've done some work in Puppet but I'm planning to fill in gaps in my knowledge, so I'm about to use the learning VM tutorials. I have a sense that I'm going to want to wipe it a few times to get back to known states, so I was wondering if there's a version I can use with Vagrant? There is a box in the Atlas repository, but I'm relatively new to Vagrant and not sure whether I should go with that while there's no documentation on what's in it. Alternatively, is it relatively simple to get the VM to a state where I can do vagrant up, destroy, etc.?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-08 10:29:39 -0500

Kevin T gravatar image

what provider you wanting to use to run the VM.

I started with vagrant and used the docs on the web to set up a simple provider for kvm on my linux box. Basically i did

sudo yum install vagrant_1.8.7_x86_64.rpm
(checked the vagrant web site for installing rpms needed for this provider)
vagrant plugin install vagrant-libvirt
vagrant init fedora/24-cloud-base
vagrant up --provider=libvirt
vagrant status

This was easily up and running on my Redhat Client in a few minutes. Im using this as the puppet agent (client) to test puppet configuration. I have a proper VM/KVM as the puppet master

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-07 10:10:36 -0500

Seen: 24 times

Last updated: Nov 08 '16