Starting with /dev/tty0 for systemd instead of tty1.
authorDaniel Baumann <mail@daniel-baumann.ch>
Fri, 19 Apr 2013 12:38:27 +0000 (14:38 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Fri, 19 Apr 2013 12:38:27 +0000 (14:38 +0200)
scripts/debconfig/0040-systemd

index 7490862..e0f41dc 100755 (executable)
@@ -81,7 +81,7 @@ case "${_LXC_ENABLE}" in
                # Enable container getty
                sed -e 's|^ *BindTo=|#BindTo=|' /lib/systemd/system/getty@.service > /etc/systemd/system/getty.target.wants/getty@console.service
 
-               for _CONSOLE in $(seq 1 ${_LXC_CONSOLES})
+               for _CONSOLE in $(seq 0 ${_LXC_CONSOLES})
                do
                        sed -e 's|^ *BindTo=|#BindTo=|' /lib/systemd/system/getty@.service > /etc/systemd/system/getty.target.wants/getty@tty${_CONSOLE}.service
                done