summaryrefslogtreecommitdiff
path: root/lib/hyperstack/cli.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:10:15 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:10:15 +0300
commit7118f8d3582d6f016090ff096a30951d8bda6f33 (patch)
treef5ac381a7a5c89a47670d9142490e8253ed89d75 /lib/hyperstack/cli.rb
parentc0b1099dc2fa4578b5fb53508bf9f871de06bc0e (diff)
fix(wg1-setup.sh): escape WG_HOSTNAME in sed /etc/hosts cleanup
Escape regex metacharacters in WG_HOSTNAME before embedding into the sed delete pattern so '.' (always present in hostnames like hyperstack1.wg1) is treated as a literal dot rather than a wildcard. Replace the literal-space anchor with [[:space:]] so tab-indented lines in /etc/hosts are also matched and removed correctly.
Diffstat (limited to 'lib/hyperstack/cli.rb')
0 files changed, 0 insertions, 0 deletions