char **argv;
char *nsenter_args[] = {"nsenter", "-w", "-a", "-r", "-t"};
const unsigned nna = ARRAY_SIZE(nsenter_args); /* num nsenter args */
- char *dflt_cmd[] = {"login", "-f", "root"};
+ char *dflt_cmd[] = {"bash", "-c", "[[ -f /etc/os-release ]] && "
+ ". /etc/os-release && printf '%s\n' \"$PRETTY_NAME\"; "
+ "command cd; exec bash"};
unsigned n, N, ni = lls_num_inputs(sublpr);
unsigned nea = ni > 1? ni - 1 : ARRAY_SIZE(dflt_cmd); /* num extra args */
const char *arg;