Set IPv4 safe address range in devstack unittests
The devstack unittests source stackrc which will fail if there is an IP
conflict with cloud networking and the default safe ip address range in
devstack. Avoid this issue by setting the value we set in d-g runs.
#!/bin/bash -xe
# This installs packages from "general" that might be
# required for unit tests
+ # Note that we have toset the safe IP addr range to avoid
+ # conflicts with cloud networks that result in job failures.
+ echo "IPV4_ADDRS_SAFE_TO_USE=10.1.0.0/20" >> localrc
./tools/install_prereqs.sh
- revoke-sudo
- shell: |
