only show alert (i.e. panic) kernel messages on the console when subiquity is running

otherwise we get spam when probing for block devices and not finding any floppy
drives...
This commit is contained in:
Michael Hudson-Doyle 2017-09-20 11:59:57 +12:00
parent bcb2bcc1cd
commit 61764acade

View File

@ -10,6 +10,7 @@ ConditionPathExists=!/run/subiquity/complete
[Service]
Environment=PYTHONPATH=/usr/share/subiquity
ExecStartPre=/bin/systemctl stop getty@tty1
ExecStartPre=/bin/dmesg -n 1
ExecStart=/sbin/agetty -n --noclear -l /snap/bin/subiquity tty1 $TERM
ExecStopPost=/bin/systemctl start getty@tty1
Type=idle