Mike Burns
2011-Jul-22 21:22 UTC
[Ovirt-devel] [PATCH node 2/2] Open the libvirt-cim default port
rhbz#713718 Signed-off-by: Mike Burns <mburns at redhat.com> --- recipe/ovirt15-post.ks | 4 ++++ recipe/rhevh6-post.ks | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/recipe/ovirt15-post.ks b/recipe/ovirt15-post.ks index 421a2cc..16e4131 100644 --- a/recipe/ovirt15-post.ks +++ b/recipe/ovirt15-post.ks @@ -100,6 +100,8 @@ cat > /etc/sysconfig/iptables << \EOF -A INPUT -i lo -j ACCEPT # libvirt -A INPUT -p tcp --dport 16509 -j ACCEPT +# libvirt-cim +-A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles @@ -125,6 +127,8 @@ cat > /etc/sysconfig/ip6tables << \EOF -A INPUT -i lo -j ACCEPT # libvirt -A INPUT -p tcp --dport 16509 -j ACCEPT +# libvirt-cim +-A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles diff --git a/recipe/rhevh6-post.ks b/recipe/rhevh6-post.ks index 328fab6..062d351 100644 --- a/recipe/rhevh6-post.ks +++ b/recipe/rhevh6-post.ks @@ -168,6 +168,8 @@ cat > /etc/sysconfig/iptables << \EOF -A INPUT -p tcp --dport 54321 -j ACCEPT # libvirt -A INPUT -p tcp --dport 16509 -j ACCEPT +# libvirt-cim +-A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles @@ -193,6 +195,8 @@ cat > /etc/sysconfig/ip6tables << \EOF -A INPUT -i lo -j ACCEPT # libvirt -A INPUT -p tcp --dport 16509 -j ACCEPT +# libvirt-cim +-A INPUT -p tcp --dport 5989 -j ACCEPT # SSH -A INPUT -p tcp --dport 22 -j ACCEPT # guest consoles -- 1.7.4.4