mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
20 lines
437 B
Ruby
20 lines
437 B
Ruby
# -*- 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
|
|
|
|
# LXD port
|
|
config.vm.network "forwarded_port", guest: 8443, host: 8443
|
|
# OpenNebula port
|
|
config.vm.network "forwarded_port", guest: 9869, host: 9869
|
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "playbook.yml"
|
|
end
|
|
end
|