Collection of Ansible playbooks to bring up an OpenStack Infra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Vagrantfile 821B

12345678910111213141516171819202122
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. # All Vagrant configuration is done below. The "2" in Vagrant.configure
  4. # configures the configuration version (we support older styles for
  5. # backwards compatibility). Please don't change it unless you know what
  6. # you're doing.
  7. Vagrant.configure(2) do |config|
  8. # vagrant box to sanity check setup_env.sh
  9. config.vm.define :trusty64, autostart: false do |trusty|
  10. trusty.vm.box = "ubuntu/trusty64"
  11. trusty.vm.provision "shell", :inline => "apt-get update -y"
  12. trusty.vm.provision "shell", :inline => "cd /vagrant ; ./setup_env.sh"
  13. end
  14. # vagrant box to sanity check setup_env.sh
  15. config.vm.define :centos7, autostart: false do |centos|
  16. centos.vm.box = "centos/7"
  17. centos.vm.provision "shell", :inline => "cd /home/vagrant/sync ; ./setup_env.sh"
  18. end
  19. end