mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Xenserver Secure Console Proxy. Removing vnc hacks when adding xen host
This commit is contained in:
parent
3cb6656234
commit
537914ffae
@ -19,13 +19,6 @@ usage() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#set iptables
|
|
||||||
iptables -D RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>/dev/null
|
|
||||||
iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 5900:6099 -j ACCEPT 2>&1
|
|
||||||
|
|
||||||
# listen vnc on all interface
|
|
||||||
sed -i 's/127\.0\.0\.1/0\.0\.0\.0/' /opt/xensource/libexec/vncterm-wrapper 2>&1
|
|
||||||
sed -i 's/127\.0\.0\.1/0\.0\.0\.0/' /opt/xensource/libexec/qemu-dm-wrapper 2>&1
|
|
||||||
|
|
||||||
# disable the default link local on xenserver
|
# disable the default link local on xenserver
|
||||||
sed -i /NOZEROCONF/d /etc/sysconfig/network
|
sed -i /NOZEROCONF/d /etc/sysconfig/network
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user