I am trying to change the vagrant file, made libvirt working but openstack keep giving me:
Either ‘image’ or ‘volume_boot’ configuration must be provided (VagrantPlugins::Openstack::Errors::MissingBootOption)
But I am providing it…
SHELLARGS = []
SHELLARGS << ENV['repoowner'] || ''
SHELLARGS << ENV['branch'] || ''
SHELLARGS << ENV['proxy_repo'] || ''
Vagrant.configure("2") do |config|
config.ssh.username = "vagrant"
config.ssh.pty = true
config.vm.define "el7", primary: true do |machine|
machine.vm.hostname = "fdi-builder-vm"
machine.vm.provision :shell, :path => 'build_image.sh', :args => SHELLARGS
config.vm.provider :libvirt do |lv|
lv.server_name = machine.vm.hostname
lv.vm.box = "centos/7"
lv.memory = 1024
end
# openstack needs credentials in ~/.vagrant.d/Vagrantfile and existence
# of a dummy box:
# vagrant box add dummy https://github.com/cloudbau/vagrant-openstack-plugin/raw/master/dummy.box
config.vm.provider :openstack do |os|
os.vm.box = 'dummy'
os.server_name = machine.vm.hostname
os.flavor = /m1.tiny/
os.image = /CentOS 7/
end
end
end