[PATCH] fix inst.noshell (#807703)

Will Woods wwoods at redhat.com
Fri Jan 10 16:40:51 UTC 2014


Suppress the anaconda shell if 'inst.noshell' or 'noshell' are in the
boot args. Note that any argument is ignored, so 'inst.noshell=false'
still disables the shell.
---
 data/systemd/anaconda-shell at .service | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/data/systemd/anaconda-shell at .service b/data/systemd/anaconda-shell at .service
index 41c4469..0422615 100644
--- a/data/systemd/anaconda-shell at .service
+++ b/data/systemd/anaconda-shell at .service
@@ -3,6 +3,8 @@
 [Unit]
 Description=Shell on %I
 After=systemd-user-sessions.service plymouth-quit-wait.service
+ConditionKernelCommandLine=!noshell
+ConditionKernelCommandLine=!inst.noshell
 
 [Service]
 WorkingDirectory=/
-- 
1.8.4.2



More information about the anaconda-patches mailing list