clean: remove useless package installation
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
apt update
|
||||
apt install -y build-essential dkms linux-headers-generic
|
||||
# Get the master node's IP from the arguments
|
||||
MASTER_IP=$1
|
||||
|
||||
@ -8,4 +6,4 @@ MASTER_IP=$1
|
||||
TOKEN=$(cat /vagrant/token)
|
||||
|
||||
# Install K3s agent (worker) and join the master node
|
||||
curl -sfL https://get.k3s.io | K3S_URL=https://$MASTER_IP:6443 K3S_TOKEN=$TOKEN sh -
|
||||
curl -sfL https://get.k3s.io | K3S_URL=https://$MASTER_IP:6443 K3S_TOKEN=$TOKEN sh -
|
||||
|
Reference in New Issue
Block a user