From 1c06153aa51daa9833729729d27c124c1e936923 Mon Sep 17 00:00:00 2001 From: alexandrev-tibco Date: Sun, 31 Aug 2025 09:37:05 +0200 Subject: [PATCH] +1 --- manage-lxc-vm-notes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manage-lxc-vm-notes.sh b/manage-lxc-vm-notes.sh index 4be19ad..40f0aea 100755 --- a/manage-lxc-vm-notes.sh +++ b/manage-lxc-vm-notes.sh @@ -92,7 +92,8 @@ collect_lxc_summary() { local vmid="$1" local name ip issues="" name=$(pct exec "$vmid" -- sh -c "hostname -s 2>/dev/null || cat /etc/hostname 2>/dev/null || echo lxc-$vmid" 2>/dev/null | head -n1 | tr -d '\r') - ip=$(pct exec "$vmid" -- sh -c '(hostname -i 2>/dev/null || true;)') + ip=$(pct exec "$vmid" -- sh -c ' + hostname -i 2>/dev/null || true; ') # Tailcale check ts_issue=$(check_lxc_tailscale_issue "$vmid") if [ -n "$ts_issue" ]; then