Browse code

Merge "Ironic: Fix iPXE Connection timed out"

Jenkins authored on 2015/07/02 04:28:44
Showing 1 changed files
... ...
@@ -658,6 +658,10 @@ function configure_iptables {
658 658
         # agent ramdisk gets instance image from swift
659 659
         sudo iptables -I INPUT -d $HOST_IP -p tcp --dport ${SWIFT_DEFAULT_BIND_PORT:-8080} -j ACCEPT || true
660 660
     fi
661
+
662
+    if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then
663
+        sudo iptables -I INPUT -d $HOST_IP -p tcp --dport $IRONIC_HTTP_PORT -j ACCEPT || true
664
+    fi
661 665
 }
662 666
 
663 667
 function configure_tftpd {