also unshare ipc and utc on boot
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Sat, 26 Mar 2022 23:08:55 +0000 (10:08 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Sat, 26 Mar 2022 23:08:55 +0000 (10:08 +1100)
overlay-boot

index 0db05aa32974a4854d012d76a8085e7cdf54a1bc..e94620ec70746b22f14fc61373811b9ef39e8090 100755 (executable)
@@ -60,7 +60,7 @@ exithandler() {
 }
 trap "exithandler" 0
 
-CMD="unshare -fp --mount-proc ip netns exec $NAME chroot $LIVE /bin/sh"
+CMD="unshare -fp --mount-proc -i -u ip netns exec $NAME chroot $LIVE /bin/sh"
 echo "$CMD"
 
 config RAM_SIZE 50M