fix: Remove claude.service and fix network settings
- Remove cfg/claude.service (claude should be run manually, not as systemd service) - Fix bind mount: change %h to /root for proper path resolution - Fix network: change to VirtualEthernet=no for internet access - Update install.sh to create proper nspawn configs for all containers - Create /root/.config/syui/ai directory in install.sh Working flow: - aios OS boot -> ai user login - machinectl login workspace - manually run 'claude' command
This commit is contained in:
@@ -22,10 +22,6 @@ arch-chroot root.x86_64/var/lib/machines/arch /bin/sh -c 'chsh -s /bin/zsh'
|
||||
# Install Claude Code
|
||||
arch-chroot root.x86_64/var/lib/machines/arch /bin/sh -c 'npm i -g @anthropic-ai/claude-code'
|
||||
|
||||
# Setup Claude Code systemd service for auto-start
|
||||
cp -rf ./cfg/claude.service root.x86_64/var/lib/machines/arch/etc/systemd/system/claude.service
|
||||
arch-chroot root.x86_64/var/lib/machines/arch /bin/sh -c 'systemctl enable claude'
|
||||
|
||||
# Copy os-release
|
||||
cp -rf ./cfg/os-release root.x86_64/var/lib/machines/arch/etc/os-release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user