Files
os/cfg/install.sh
Claude 4352a7d0e3 fix: Correct OS structure - root.x86_64 is OS root, not machines/aios
Fixed the fundamental issue:
- root.x86_64/ = aios OS (entire filesystem)
- root.x86_64/var/lib/machines/ = child containers directory

Changes:
- build.zsh: Use root.x86_64 directly as OS root
- setup-user.sh: ROOTFS=root.x86_64
- setup-claude.sh: ROOTFS=root.x86_64
- user-continer.sh: ROOTFS=root.x86_64
- install.sh: mv root.x86_64 /var/lib/machines/aios

Now matches github-actions structure correctly.
2025-11-07 16:55:36 +00:00

20 lines
380 B
Bash

#!/bin/bash
# aios installation script
NAME="aios"
TARBALL="aios-bootstrap.tar.gz"
echo "=== aios installation ==="
# Extract and install
tar xf "$TARBALL"
mkdir -p /var/lib/machines
mv root.x86_64 /var/lib/machines/$NAME
echo "=== Installation complete ==="
echo ""
echo "Usage:"
echo " sudo machinectl start $NAME"
echo " sudo machinectl shell $NAME /bin/su - ai"
echo ""