selinux: Add wdmd_t related rules

Change-Id: I6c947740dc12a2a7f0d765ccaa8bd4841efc369c
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
rhevh7-install: replace firewalld to iptables

host-deploy uses iptables instead of firewalld.

Change-Id: I26e7e86b471c5fa82deb08fa8a25aaa0f89fdaf0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1150328
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
firewall: Use correct logic if firewalld is used

Previously the decision if firewealld should be used or not was lax, it
was only based on the fact that firewalld was used.
Now the decision is made on the install state and service state of
firewalld.

Now firewalld will only be configured if it's installed and the service
running, otherwise iptables will be used.

Change-Id: Ica13f63ac67d0ba1dd29f5b1566e96036e78eefc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1150328
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
install: Use correct arguments for wipefs

wipefs on el7 takes different arguments than wipefs on el6.
A recent patch added arguments (-f) to wipefs which ain't supported on
el6, and thus broke the installation.

Now different arguments are used on el6 and el7.

Change-Id: Ie28f45bda046f386933767e0998a3328ef79a915
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1150377
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
rhevh7-post: initial iptables rules

Add the initial iptables rules for ovirt services
communications.

Change-Id: I70bf2714149be219201a993aeb530593d6af0a2f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1150328
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>