On Mon, 2014-02-24 at 11:20 -0500, Will Woods wrote:
Here's two patches to simplify anaconda-generator, and fix
inst.noshell.
Both patches move the commandline checking stuff out of anaconda-generator and
into the systemd unit files themselves. This should make the behavior easier
for other people to understand (and control).
The first patch fixes inst.noshell by disabling tmux when inst.noshell or
noshell is present, since it lets you create new shells. See commit ad34bcdc
for the other half of the inst.noshell fix.
The second patch just moves the anaconda-sshd console logic out of
anaconda-generator and into the unit files. No behavior changes are expected
there.
I've tested to confirm that everything works as expected: tmux and tty2 show
up normally, inst.noshell suppresses both, and inst.sshd starts sshd.
-w
These both look good to me.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic