lxc patch

This commit is contained in:
2026-04-11 09:33:28 -04:00
parent 88a2e5bd29
commit 23d93b709b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ fi
lxc-start -n "$CONTAINER" 2>/dev/null || true
if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
exec lxc-attach -n "$CONTAINER" -- bash -c "$SSH_ORIGINAL_COMMAND"
exec lxc-attach -n "$CONTAINER" -- /bin/bash -c "$SSH_ORIGINAL_COMMAND"
else
exec lxc-attach -n "$CONTAINER" -- login -f root
exec lxc-attach -n "$CONTAINER" -- /bin/login -f root
fi