We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4ebec commit 9a286ecCopy full SHA for 9a286ec
Dockerfile
@@ -7,3 +7,5 @@ RUN yum -y install rsync openssh-clients libvirt-client \
7
https://releases.hashicorp.com/vagrant/2.2.2/vagrant_2.2.2_x86_64.rpm \
8
&& vagrant box add centos/7 --provider libvirt \
9
&& vagrant plugin install vagrant-libvirt
10
+
11
+COPY Vagrantfile /workDir/
Vagrantfile
@@ -0,0 +1,13 @@
1
+Vagrant.configure(2) do |config|
2
+ config.vm.box = "centos/7"
3
+ config.vm.provider "libvirt" do |libvirt|
4
+ libvirt.memory = 2048
5
+ libvirt.cpus = 1
6
+ libvirt.nested = true
+ libvirt.volume_cache = 'none'
+ libvirt.driver = "kvm"
+ libvirt.uri = "qemu:///system"
+ libvirt.connect_via_ssh = false
+ libvirt.username = "root"
12
+ end
13
+end
0 commit comments