Skip to content

Commit 6cd44ce

Browse files
Update cloud-init.ts
1 parent fcb44e1 commit 6cd44ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/hetzner/cloud-init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ runcmd:
153153
# OpenClaw (native install as openclaw user)
154154
- su - openclaw -c 'curl -fsSL https://openclaw.ai/install.sh | bash'
155155
156-
# Add npm-global bin to openclaw PATH for interactive/login sessions
157-
- su - openclaw -c 'echo "export PATH=\\$HOME/.npm-global/bin:\\$PATH" >> ~/.profile'
156+
# Add npm-global bin to PATH for both login shells (.profile) and interactive shells (.bashrc)
157+
- su - openclaw -c 'echo "export PATH=\\$HOME/.npm-global/bin:\\$PATH" >> ~/.profile && echo "export PATH=\\$HOME/.npm-global/bin:\\$PATH" >> ~/.bashrc'
158158
159159
# Playwright browsers for agent browser automation
160160
- su - openclaw -c 'npx playwright install --with-deps chromium'

0 commit comments

Comments
 (0)