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:
@@ -37,13 +37,9 @@ cat > $ROOTFS/etc/systemd/nspawn/workspace.nspawn <<'EOF'
|
|||||||
[Exec]
|
[Exec]
|
||||||
Boot=yes
|
Boot=yes
|
||||||
ResolvConf=copy-host
|
ResolvConf=copy-host
|
||||||
Capability=all
|
|
||||||
SystemCallFilter=@keyring bpf
|
|
||||||
PrivateUsers=no
|
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Bind=/home/ai:/root
|
Bind=/home/ai:/root
|
||||||
SuppressSync=false
|
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
VirtualEthernet=no
|
VirtualEthernet=no
|
||||||
|
|||||||
Reference in New Issue
Block a user