File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ UNIQUE_HOST_ID=$(echo $RANDOM | md5sum | head -c 4)
6565RANDOM_ADDITION=$(( 4000 + RANDOM % 1001 ))
6666VMID=$(( NEXTID + RANDOM_ADDITION))
6767STORAGE=local-lvm
68- HOSTNAME=$UNIQUE_HOST_ID -workshop-$VMID
68+ HOSTNAME=kind -workshop-$VMID
6969USER=splunk
7070PASSWORD=Splunk123!
7171LATEST_K9S_VERSION=$( curl -s https://api.github.com/repos/derailed/k9s/releases/latest | jq -r ' .tag_name' )
@@ -200,7 +200,7 @@ runcmd:
200200 - unzip -qq terraform_${LATEST_TERRAFORM_VERSION} _linux_amd64.zip -d /usr/local/bin
201201
202202 # Install kind
203- - [ $( uname -m ) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.30.0/kind-linux-amd64
203+ - curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.30.0/kind-linux-amd64
204204 - chmod +x ./kind
205205 - mv ./kind /usr/local/bin/kind
206206
@@ -211,7 +211,7 @@ runcmd:
211211 - usermod -aG docker splunk
212212
213213 # Create kube config and set correct permissions on splunk user home directory
214- - mkdir /home/splunk/.kube && kubectl config view --raw > /home/splunk/.kube/config
214+ - mkdir /home/splunk/.kube && /snap/bin/ kubectl config view --raw > /home/splunk/.kube/config
215215 - chmod 400 /home/splunk/.kube/config
216216 - chown -R splunk:splunk /home/splunk
217217
You can’t perform that action at this time.
0 commit comments