We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb44e1 commit 6cd44ceCopy full SHA for 6cd44ce
1 file changed
src/lib/hetzner/cloud-init.ts
@@ -153,8 +153,8 @@ runcmd:
153
# OpenClaw (native install as openclaw user)
154
- su - openclaw -c 'curl -fsSL https://openclaw.ai/install.sh | bash'
155
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'
+ # Add npm-global bin to PATH for both login shells (.profile) and interactive shells (.bashrc)
+ - su - openclaw -c 'echo "export PATH=\\$HOME/.npm-global/bin:\\$PATH" >> ~/.profile && echo "export PATH=\\$HOME/.npm-global/bin:\\$PATH" >> ~/.bashrc'
158
159
# Playwright browsers for agent browser automation
160
- su - openclaw -c 'npx playwright install --with-deps chromium'
0 commit comments