Vagrantfile fix, added python-keystoneclient to main.yml
This commit is contained in:
parent
2a4bfaa421
commit
d1dd2fb150
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -14,7 +14,8 @@ SCRIPT
|
|||||||
|
|
||||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
|
|
||||||
config.vm.box = "deb/jessie-amd64"
|
#config.vm.box = "deb/jessie-amd64"
|
||||||
|
config.vm.box = "rustyrobot/deb-jessie-amd64"
|
||||||
|
|
||||||
config.vm.define "solar-dev", primary: true do |config|
|
config.vm.define "solar-dev", primary: true do |config|
|
||||||
config.vm.provision "shell", inline: init_script, privileged: true
|
config.vm.provision "shell", inline: init_script, privileged: true
|
||||||
@ -38,7 +39,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
config.vm.host_name = "solar-dev#{index}"
|
config.vm.host_name = "solar-dev#{index}"
|
||||||
|
|
||||||
config.vm.provider :virtualbox do |v|
|
config.vm.provider :virtualbox do |v|
|
||||||
v.customize ["modifyvm", :id, "--memory", 512]
|
v.customize ["modifyvm", :id, "--memory", 1024]
|
||||||
v.name = "solar-dev#{index}"
|
v.name = "solar-dev#{index}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
1
main.yml
1
main.yml
@ -15,6 +15,7 @@
|
|||||||
- apt: name=python-mysqldb state=present
|
- apt: name=python-mysqldb state=present
|
||||||
- shell: pip install -U pip
|
- shell: pip install -U pip
|
||||||
- shell: pip install docker-py==1.1.0
|
- shell: pip install docker-py==1.1.0
|
||||||
|
- shell: pip install python-keystoneclient==1.5.0
|
||||||
|
|
||||||
# requirements
|
# requirements
|
||||||
- shell: pip install -r /vagrant/requirements.txt
|
- shell: pip install -r /vagrant/requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user