helow
my goal is to install via kickstart a CentOS 7 NFS server but I fail to set the
firewall rules at installation time.
In my kickstart file I set:
# Firewall configuration
# ssh and NFS
# Ports 111 and 875 are for rquotad
firewall --enabled --ssh --service=nfs --port=111:tcp,111:upd,875:tcp,875:upd
On the installed server,? /root/anaconda-ks.cfg contains:
# Firewall configuration
firewall --enabled --port=111:tcp,111:upd,875:tcp,875:upd --service=ssh,nfs
But after install "firewall-cmd --list-all" returns:
public (active)
? target: default
? icmp-block-inversion: no
? interfaces: p4p1
? sources:
? services: ssh dhcpv6-client
? ports:
? protocols:
? masquerade: no
? forward-ports:
? source-ports:
? icmp-blocks:
? rich rules:
An idea about my mistake ?
Thanks
Patrick
--
==================================================================| Equipe
M.O.S.T. | |
| Patrick BEGOU | mailto:Patrick.Begou at grenoble-inp.fr |
| LEGI | |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===================================================================