Start Vagrantfile
This commit is contained in:
commit
7fb827494c
2 changed files with 50 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.vagrant/
|
49
Vagrantfile
vendored
Normal file
49
Vagrantfile
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
config.vm.box = "generic/ubuntu1604"
|
||||
|
||||
config.vm.define "simulation" do |simulation|
|
||||
simulation.vm.hostname = "simulation"
|
||||
simulation.vm.network "private_network", ip: "192.168.95.10"
|
||||
simulation.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
||||
config.vm.define "hmi" do |hmi|
|
||||
hmi.vm.hostname = "hmi"
|
||||
hmi.vm.network "private_network", ip: "192.168.90.5"
|
||||
hmi.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
||||
config.vm.define "pfsense" do |pfsense|
|
||||
pfsense.vm.hostname = "pfsense"
|
||||
pfsense.vm.network "private_network", ip: "192.168.90.100"
|
||||
pfsense.vm.network "private_network", ip: "192.168.95.1"
|
||||
pfsense.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
||||
config.vm.define "plc" do |plc|
|
||||
plc.vm.hostname = "plc"
|
||||
plc.vm.network "private_network", ip: "192.168.95.2"
|
||||
plc.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
||||
config.vm.define "workstation" do |workstation|
|
||||
workstation.vm.hostname = "workstation"
|
||||
workstation.vm.network "private_network", ip: "192.168.95.5"
|
||||
workstation.vm.provision "shell", inline: <<-SHELL
|
||||
apt-get update
|
||||
SHELL
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in a new issue