directory stucture and start p2
This commit is contained in:
parent
47fba0762f
commit
c9d7b397c2
4
Vagrantfile → p1/Vagrantfile
vendored
4
Vagrantfile → p1/Vagrantfile
vendored
@ -8,7 +8,7 @@ Vagrant.configure(2) do |config|
|
|||||||
v.memory = "2048"
|
v.memory = "2048"
|
||||||
v.cpus = 2
|
v.cpus = 2
|
||||||
end
|
end
|
||||||
control.vm.provision "shell", path: "k3s-master.sh"
|
control.vm.provision "shell", path: "./scripts/k3s-master.sh"
|
||||||
end
|
end
|
||||||
|
|
||||||
# config.vm.provision "shell", inline: ""
|
# config.vm.provision "shell", inline: ""
|
||||||
@ -23,7 +23,7 @@ Vagrant.configure(2) do |config|
|
|||||||
v.memory = "2048"
|
v.memory = "2048"
|
||||||
v.cpus = 2
|
v.cpus = 2
|
||||||
end
|
end
|
||||||
control.vm.provision "shell", path: "k3s-worker.sh"
|
control.vm.provision "shell", path: "./scripts/k3s-worker.sh"
|
||||||
end
|
end
|
||||||
|
|
||||||
# config.vm.provision "shell", inline: <<-SHELL
|
# config.vm.provision "shell", inline: <<-SHELL
|
||||||
34
p2/Vagrantfile
vendored
Normal file
34
p2/Vagrantfile
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Vagrant.configure(2) do |config|
|
||||||
|
config.vm.box = "hashicorp/bionic64"
|
||||||
|
config.vm.define "apommierS" do |control|
|
||||||
|
control.vm.hostname = "apommierS"
|
||||||
|
control.vm.network "private_network", ip: "192.168.56.110"
|
||||||
|
control.vm.provider "virtualbox" do |v|
|
||||||
|
v.name = "apommierS"
|
||||||
|
v.memory = "2048"
|
||||||
|
v.cpus = 2
|
||||||
|
end
|
||||||
|
control.vm.provision "shell", path: "./scripts/k3s-master.sh"
|
||||||
|
end
|
||||||
|
|
||||||
|
# config.vm.provision "shell", inline: ""
|
||||||
|
# control.vm.provision "shell", path: REDACTED
|
||||||
|
# end
|
||||||
|
|
||||||
|
config.vm.define "apommierSW" do |control|
|
||||||
|
control.vm.hostname = "apommierSW"
|
||||||
|
control.vm.network "private_network", ip: "192.168.56.111"
|
||||||
|
control.vm.provider "virtualbox" do |v|
|
||||||
|
v.name = "apommierSW"
|
||||||
|
v.memory = "2048"
|
||||||
|
v.cpus = 2
|
||||||
|
end
|
||||||
|
control.vm.provision "shell", path: "./scripts/k3s-worker.sh"
|
||||||
|
end
|
||||||
|
|
||||||
|
# config.vm.provision "shell", inline: <<-SHELL
|
||||||
|
# [..]
|
||||||
|
# SHELL
|
||||||
|
# control.vm.provision "shell", path: REDACTED
|
||||||
|
# end
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue
Block a user