Start Vagrantfile

This commit is contained in:
flyingscorpio@clevo 2023-12-08 09:33:39 +01:00
commit 7fb827494c
2 changed files with 50 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vagrant/

49
Vagrantfile vendored Normal file
View 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