The pipe stuff introduced in
701e0c2660 causes nspawn to switch the
console from 'interactive' into 'read-only' which is a bit useless when
debugging. Let's set --console=interactive explicitly in such case.
Follow-up to
701e0c2660.
${TEST_MATCH_TESTCASE:+"systemd.setenv=TEST_MATCH_TESTCASE=$TEST_MATCH_TESTCASE"}
)
- if ! get_bool "$INTERACTIVE_DEBUG"; then
+ if get_bool "$INTERACTIVE_DEBUG"; then
+ nspawn_options+=("--console=interactive")
+ else
kernel_params+=("systemd.wants=end.service")
fi