Open tuckner opened 6 years ago
I struggled for an hour this morning before realizing that Ubuntu 18.04 aliases /bin/sh to dash instead of bash. Why haven't either one of @tuckner's proposed fixes been merged?
@tuckner @jeffbrl could you please help me , i'm deploying palo alto BYOL to test in aws.
the terraform plan command gives this error while interpreting:
Error: Error applying plan:
1 error occurred:
@chiranjeev2019 The shell script isn't going to work on Windows.
Tested on Ubuntu 16.04, default interpreter ran by provisioner is /bin/sh causing the script to fail. Adding sha-bang '#!/bin/bash' fixes the issue. Provisioner could also declare the correct interpreter for the script.
Error: null_resource.check_fw_ready (local-exec): ./check_fw.sh: 9: ./check_fw.sh: [[: not found