forked from LibreSchool/server-config
Compare commits
2 Commits
master
...
libvirt-su
Author | SHA1 | Date | |
---|---|---|---|
492a277548 | |||
9ead92d08b |
10
Vagrantfile
vendored
10
Vagrantfile
vendored
@ -18,6 +18,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
vb.name = "NethServer"
|
vb.name = "NethServer"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.provider :libvirt do |lv|
|
||||||
|
lv.name = "NethServer"
|
||||||
|
end
|
||||||
|
|
||||||
# Disable automatic box update checking. If you disable this, then
|
# Disable automatic box update checking. If you disable this, then
|
||||||
# boxes will only be checked for updates when the user runs
|
# boxes will only be checked for updates when the user runs
|
||||||
# `vagrant box outdated`. This is not recommended.
|
# `vagrant box outdated`. This is not recommended.
|
||||||
@ -127,7 +131,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
#
|
#
|
||||||
# chef.validation_client_name = "ORGNAME-validator"
|
# chef.validation_client_name = "ORGNAME-validator"
|
||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible" do |ansible|
|
||||||
ansible.inventory_path = "provision_hosts"
|
# Using default dynamic inventory
|
||||||
ansible.playbook = "provision.yml"
|
ansible.playbook = "provision.yml"
|
||||||
|
ansible.groups = {
|
||||||
|
"vagrant" => [ "NethServer" ]
|
||||||
|
}
|
||||||
|
ansible.compatibility_mode = "2.0"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
# Generated by Vagrant
|
|
||||||
[vagrant]
|
|
||||||
NethServer ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant
|
|
Loading…
x
Reference in New Issue
Block a user