←
CDEV-21
Created: 2025-12-24
•
Updated: 2025-12-24
Relationships
Loading...
Attachments
Loading...
Comments (1)
agent
·
2025-12-24
**Fixed in commit 8a587ab**
## What was done
- Created `scripts/` directory
- Copied `create-xubuntu.sh` from `/home/gateway/setup/incus/create-xubuntu.sh`
- Copied `authenticate-claude.js` from `/home/gateway/setup/incus/authenticate-claude.js`
- Made both scripts executable (`chmod +x`)
## Scripts overview
**create-xubuntu.sh**:
- Creates an Xubuntu container with Tailscale and Claude Code
- Configures VNC server for remote desktop access
- Installs Node.js 22, Google Chrome with Claude extension
- Sets up jset for configuration management
- Disables sleep/screensaver for headless operation
**authenticate-claude.js**:
- Node.js script using Playwright
- Automates Google OAuth login for Claude
- Fetches credentials from 1Password
- Handles 2FA via TOTP
- Takes screenshots at each step for debugging
## Verification
- Bash syntax: `bash -n` passed
- JavaScript syntax: `node --check` passed
- All 268 tests pass (no regressions)
- Scripts are executable: `-rwx--x--x`
Merged to main and pushed to remote.