Skip to content

Commit 043ec7f

Browse files
committed
centos VM with virtualbox
1 parent 95cf095 commit 043ec7f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

centos-vm-virtualbox/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM centos:7
2+
3+
RUN yum -y install rsync openssh-clients virtualbox libguestfs-tools-c \
4+
ruby-devel gcc \
5+
&& yum -y install \
6+
https://releases.hashicorp.com/vagrant/2.2.2/vagrant_2.2.2_x86_64.rpm \
7+
&& vagrant box add centos/7 --provider virtualbox
8+
9+
COPY Vagrantfile /centos-vm-virtualbox/

centos-vm-virtualbox/Vagrantfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Vagrant.configure(2) do |config|
2+
config.vm.box = "centos/7"
3+
end

0 commit comments

Comments
 (0)