mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 17:28:58 +03:00
VTWO-14496 : start machines configuration
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -1,5 +1,6 @@
|
||||
# Doc at https://docs.vagrantup.com
|
||||
# Boxes at https://vagrantcloud.com/search
|
||||
require 'open-uri'
|
||||
|
||||
Vagrant.require_version ">= 2.2.4"
|
||||
|
||||
@@ -7,8 +8,9 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.box = "debian/stretch64"
|
||||
config.vm.box_version = "= 9.9.1"
|
||||
|
||||
# greet from every configured VM, revealing its hostname
|
||||
config.vm.provision "shell", inline: "echo Hello from \$HOSTNAME"
|
||||
|
||||
|
||||
config.vm.define "master-node" do |node|
|
||||
node.vm.hostname = "master-node"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user