diff --git a/systemvm/patches/debian/config/opt/cloud/bin/baremetal-vr.py b/systemvm/patches/debian/config/opt/cloud/bin/baremetal-vr.py index 9cce6393fd2..51ab5822353 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/baremetal-vr.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/baremetal-vr.py @@ -156,7 +156,6 @@ def notify_provisioning_done(mac): if __name__ == '__main__': - global server server = Server() shell("iptables-save | grep -- '-A INPUT -i eth0 -p tcp -m tcp --dport 10086 -j ACCEPT' > /dev/null || iptables -I INPUT -i eth0 -p tcp -m tcp --dport 10086 -j ACCEPT") app.run(host='0.0.0.0', port=10086, debug=True)