-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathVagrantfile
35 lines (30 loc) · 1.07 KB
/
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
28
29
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This guide is optimized for Vagrant 2.4 and above.
Vagrant.require_version ">= 2.4.0"
Vagrant.configure("2") do |config|
#######################################
### WPS Servers ######################
#######################################
# Disable the new default behavior introduced in Vagrant 1.7, to
# ensure that all Vagrant machines will use the same SSH key pair.
# See https://github.com/mitchellh/vagrant/issues/5005
config.ssh.insert_key = false
config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'
config.vm.define "wps" do |wps|
# wps.vm.box = "bento/centos-7"
# wps.vm.box = "bento/almalinux-8"
wps.vm.box = "bento/almalinux-9"
wps.vm.hostname = "wps.local"
wps.vm.network "private_network", ip: "192.168.128.100"
# wps.vm.provision 'ansible' do |ansible|
# ansible.playbook = 'playbook.yml'
# ansible.verbose = "v"
# ansible.host_key_checking = false
# ansible.groups = {
# "web" => ["wps"],
# "worker" => []
# }
# end
end
end