From a1d465ea164592696fcc457c998f0313ab3cb239 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Thu, 21 Nov 2013 16:46:27 +0100 Subject: [PATCH] Fix DisableGetTTYs task to disable tty6 as well --- common/tasks/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tasks/boot.py b/common/tasks/boot.py index de3c190..f2164aa 100644 --- a/common/tasks/boot.py +++ b/common/tasks/boot.py @@ -24,6 +24,6 @@ class DisableGetTTYs(Task): tty1 = '1:2345:respawn:/sbin/getty 38400 tty1' sed_i(inittab_path, '^' + tty1, '#' + tty1) ttyx = ':23:respawn:/sbin/getty 38400 tty' - for i in range(2, 6): + for i in range(2, 7): i = str(i) sed_i(inittab_path, '^' + i + ttyx + i, '#' + i + ttyx + i)