.
This commit is contained in:
8
multivm/Vagrantfile
vendored
8
multivm/Vagrantfile
vendored
@@ -11,7 +11,7 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.box_check_update = false
|
||||
|
||||
config.vm.provision "shell",
|
||||
path: "standard.sh"
|
||||
path: "https://gitea.adminakademia.pl/adminakademia/lpic-305-306/raw/branch/master/multivm/standard.sh"
|
||||
|
||||
|
||||
config.vm.define "web" do |web|
|
||||
@@ -19,16 +19,16 @@ Vagrant.configure("2") do |config|
|
||||
web.vm.network "forwarded_port", guest: 80, host: 8080
|
||||
web.vm.network "private_network", ip: "10.10.0.2"
|
||||
web.vm.provision "shell",
|
||||
path: "apachephp.sh"
|
||||
path: "https://gitea.adminakademia.pl/adminakademia/lpic-305-306/raw/branch/master/multivm/apachephp.sh"
|
||||
|
||||
end
|
||||
|
||||
|
||||
config.vm.define "db" do |db|
|
||||
db.vm.hostname = "websrv"
|
||||
db.vm.hostname = "dbsrv"
|
||||
db.vm.network "private_network", ip: "10.10.0.3"
|
||||
db.vm.provision "shell",
|
||||
path: "mariadb.sh"
|
||||
path: "https://gitea.adminakademia.pl/adminakademia/lpic-305-306/raw/branch/master/multivm/mariadb.sh"
|
||||
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user