Yup,

One additional step and will be better for you:

Vagrant.configure(2) do |config|
  config.vm.box = "oraclelinux-7-x86_64.box"
  config.vm.box_url = "http://cloud.terry.im/vagrant/oraclelinux-7-x86_64.box";

  config.vm.provider "virtualbox" do |vb|
    vb.gui = true
    vb.customize ["modifyvm", :id, "--memory", "4096"]
    vb.name = "OEL 7.1 Development Server"
   end

  config.vm.provision "shell", inline: <<-SHELL
    yum-config-manager --enable ol7_addons
    groupadd docker
    usermod -a -G docker vagrant
  SHELL

  config.vm.provision "docker" do |d|
    d.pull_images "oraclelinux:7.1"
  end

end

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to