forked from fedora-infra/koschei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
27 lines (23 loc) · 905 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "fedora-27"
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/27/CloudImages/x86_64/images/Fedora-Cloud-Base-Vagrant-27-1.6.x86_64.vagrant-libvirt.box"
config.vm.network "forwarded_port", guest: 80, host: 5000
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder ".", "/vagrant", type: "sshfs"
config.vm.provider :libvirt do |domain|
domain.driver = "kvm"
domain.memory = 2048
domain.cpus = 2
end
config.vm.provision "ansible" do |ansible|
ansible.compatibility_mode = "2.0"
ansible.playbook = "aux/vagrant-playbook.yml"
end
config.vm.post_up_message = <<-EOF
Provisioning complete.
Koschei frontend should be running at http://localhost:5000/
See also: https://github.com/msimacek/koschei/#development
EOF
end