mirror of
https://github.com/jprdonnelly/kubernetes-cluster.git
synced 2025-12-19 18:05:19 -05:00
copy kubeadm join command
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -65,7 +65,6 @@ SCRIPT
|
||||
|
||||
$configureMaster = <<-SCRIPT
|
||||
echo "This is master"
|
||||
|
||||
# ip of this box
|
||||
IP_ADDR=`ifconfig enp0s8 | grep Mask | awk '{print $2}'| cut -f2 -d:`
|
||||
|
||||
@@ -94,7 +93,6 @@ SCRIPT
|
||||
|
||||
$configureNode = <<-SCRIPT
|
||||
echo "This is worker"
|
||||
|
||||
apt-get install -y sshpass
|
||||
sshpass -p "vagrant" scp -o StrictHostKeyChecking=no vagrant@192.168.205.10:/etc/kubeadm_join_cmd.sh .
|
||||
sh ./kubeadm_join_cmd.sh
|
||||
|
||||
Reference in New Issue
Block a user