Revert workspace.nspawn to simple configuration

- Remove incorrect nested container settings
- Audit error cannot be solved with nspawn config (kernel issue)
- Keep simple config: Boot=yes, Bind mount, no VirtualEthernet
- Works in production (aios as OS), not in test (nested container)
This commit is contained in:
Claude
2025-11-07 20:00:21 +00:00
parent f965547b6c
commit 2162463382

View File

@@ -37,13 +37,9 @@ cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF'
[Exec]
Boot=yes
ResolvConf=copy-host
Capability=all
SystemCallFilter=@keyring bpf
PrivateUsers=no
[Files]
Bind=/home/ai:/root
SuppressSync=false
[Network]
VirtualEthernet=no