[Spacewalk-list] Configure Firewalld in Kickstart-Script
Philipp Wehling
philipp.wehling at megatel.de
Tue Dec 15 11:33:25 UTC 2015
Hello,
I want to fully automate my linux-installation process. For that, specific firewall-rules are needed.
I created a post-installation script like that:
[...]
systemctl restart firewalld
firewall-cmd --add-rich-rule='rule family="ipv4" source address="xxx.xxx.xxx.xxx" port port="xxxx" protocol="tcp" accept' --permanent
firewall-cmd --reload
[...]
But this wont work. It tells me the following:
systemctl restart firewalld --> Running in chroot, ignoring request
firewall-cmd --add-rich-rule=... --> FirewallD is not running
firewall-cmd --reload --> FirewallD is not running
I was trying to run as nochroot-script, but then it isnt executed at all ...
Any help?
kind regards,
Philipp Wehling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20151215/4d85d496/attachment.htm>
More information about the Spacewalk-list
mailing list