We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9783084 commit 14ca1bbCopy full SHA for 14ca1bb
local-hosting/proxmox/ubuntu-cloud-k3d.sh
@@ -209,12 +209,16 @@ runcmd:
209
# Chaos Mesh
210
- curl -sSL https://mirrors.chaos-mesh.org/v2.8.0/install.sh | bash -s -- --k3s
211
212
+ # Get VM IP and update workshop-secrets with actual IP
213
+ - sed -i "s|http://frontend|http://$(ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v '^127\.' | head -n1):81|g" /tmp/workshop-secrets.yaml
214
+
215
# Deploy Splunk secrets
216
- /snap/bin/kubectl apply -f /tmp/workshop-secrets.yaml
217
218
# Increase inotify limits for k3s
219
- sysctl -w fs.inotify.max_user_watches=524288
220
- sysctl -w fs.inotify.max_user_instances=8192
221
222
EOF
223
224
#qm destroy $VMID >/dev/null
0 commit comments