Commit b13f0b8b authored by Piotr Szlenk's avatar Piotr Szlenk

Add vagrant file provisioning

parent ceff2044
......@@ -101,10 +101,10 @@ Vagrant.configure("2") do |config|
vb.cpus = 1
vb.memory = 1024
end
k8snode1.vm.provision "file", source: "k8s-provisioning/ip.k8s-node-l1-2.sh", destination: "$HOME/k8s-provisioning/ip.k8s-node.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/etc.hosts.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/etc.hosts.k8s-nodes.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/docker.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/docker.k8s-nodes.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/init.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/init.k8s-nodes.sh"
k8snode2.vm.provision "file", source: "k8s-provisioning/ip.k8s-node-l1-2.sh", destination: "$HOME/k8s-provisioning/ip.k8s-node.sh"
k8snode2.vm.provision "file", source: "k8s-provisioning/etc.hosts.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/etc.hosts.k8s-nodes.sh"
k8snode2.vm.provision "file", source: "k8s-provisioning/docker.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/docker.k8s-nodes.sh"
k8snode2.vm.provision "file", source: "k8s-provisioning/init.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/init.k8s-nodes.sh"
end
config.vm.define("k8s-node-l2-1") do |k8snode3|
......@@ -116,10 +116,10 @@ Vagrant.configure("2") do |config|
vb.cpus = 1
vb.memory = 1024
end
k8snode1.vm.provision "file", source: "k8s-provisioning/ip.k8s-node-l2-1.sh", destination: "$HOME/k8s-provisioning/ip.k8s-node.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/etc.hosts.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/etc.hosts.k8s-nodes.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/docker.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/docker.k8s-nodes.sh"
k8snode1.vm.provision "file", source: "k8s-provisioning/init.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/init.k8s-nodes.sh"
k8snode3.vm.provision "file", source: "k8s-provisioning/ip.k8s-node-l2-1.sh", destination: "$HOME/k8s-provisioning/ip.k8s-node.sh"
k8snode3.vm.provision "file", source: "k8s-provisioning/etc.hosts.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/etc.hosts.k8s-nodes.sh"
k8snode3.vm.provision "file", source: "k8s-provisioning/docker.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/docker.k8s-nodes.sh"
k8snode3.vm.provision "file", source: "k8s-provisioning/init.k8s-nodes.sh", destination: "$HOME/k8s-provisioning/init.k8s-nodes.sh"
end
config.vm.define("k8s-node-l2-2") do |k8snode4|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment