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.
20 lines
380 B
Bash
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 ""
|