2020-07-20 11:12:56 +07:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.box = "ubuntu/bionic64"
|
|
|
|
|
|
|
|
config.vm.provider "virtualbox" do |vb|
|
|
|
|
vb.memory = "8192"
|
|
|
|
end
|
|
|
|
|
2020-07-23 11:41:20 +07:00
|
|
|
# LXD port
|
2020-07-20 14:37:48 +07:00
|
|
|
config.vm.network "forwarded_port", guest: 8443, host: 8443
|
2020-07-23 14:42:49 +07:00
|
|
|
# OpenNebula ports
|
2020-07-23 11:41:20 +07:00
|
|
|
config.vm.network "forwarded_port", guest: 9869, host: 9869
|
2020-07-23 14:42:49 +07:00
|
|
|
config.vm.network "forwarded_port", guest: 2633, host: 2633
|
2020-07-20 14:37:48 +07:00
|
|
|
|
2020-07-20 11:12:56 +07:00
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.playbook = "playbook.yml"
|
|
|
|
end
|
|
|
|
end
|