Fix autoinstalls to work around a modern d-i bug
[invirt/packages/invirt-xen-config.git] / invirt-database
index adee177..98ede48 100644 (file)
@@ -72,6 +72,7 @@ if 'installer_options' in locals(): #Installer
             # For debugging, add "DEBCONF_DEBUG=5" to the arguments.
             extras = ["auto=true",
                       "debconf/priority=critical",
             # For debugging, add "DEBCONF_DEBUG=5" to the arguments.
             extras = ["auto=true",
                       "debconf/priority=critical",
+                      'preseed/early_command="grep -v tty0 /etc/inittab >/etc/inittab.new; mv -f /etc/inittab.new /etc/inittab"',
                       "debian-installer/locale=en_US.UTF-8",
                       "debian-installer/exit/always_halt=true",
                       "url="+install['preseed'],
                       "debian-installer/locale=en_US.UTF-8",
                       "debian-installer/exit/always_halt=true",
                       "url="+install['preseed'],