Created
May 24, 2017 16:20
-
-
Save gamename/3fb3fee99cf8bbca90698e114433a7b3 to your computer and use it in GitHub Desktop.
RDO Vagrantfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "8192" | |
end | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo yum install -y ntp | |
sudo systemctl start ntpd | |
sudo systemctl disable firewalld | |
sudo systemctl stop firewalld | |
sudo systemctl disable NetworkManager | |
sudo systemctl stop NetworkManager | |
sudo systemctl enable network | |
sudo systemctl start network | |
sudo yum install -y centos-release-openstack-ocata | |
sudo yum update -y | |
sudo yum install -y openstack-packstack | |
SHELL | |
#sudo packstack --allinone | |
config.vm.network "public_network", bridge: "en0: Wi-Fi (AirPort)" | |
config.vm.hostname = File.basename(File.dirname(__FILE__)) | |
config.vm.post_up_message = "Done!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment