[PATCH rhel5-branch] Add --no-ssh to the generated anaconda-ks.cfg.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resolves: rhbz#703081
---
 firewall.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/firewall.py b/firewall.py
index 22eb3fd..af152e3 100644
--- a/firewall.py
+++ b/firewall.py
@@ -33,6 +33,9 @@ class Firewall:
     def writeKS(self, f):
 	f.write("firewall")
 
+        if not "22:tcp" in self.portlist:
+            f.write(" --no-ssh")
+
         if self.enabled:
 	    for arg in self.getArgList():
 		f.write(" " + arg)
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux