Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created September 18, 2014 20:49
Show Gist options
  • Save nelsnelson/5392aaf8d31562792db2 to your computer and use it in GitHub Desktop.
Save nelsnelson/5392aaf8d31562792db2 to your computer and use it in GitHub Desktop.
pushd /opt/stack/tempest
[[ -d .testrepository ]] || { echo "Initializing tempest workspace"; testr init; }
sed -i 's/\#suspend\=true/#suspend=true\nsuspend=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/\#rescue\=true/#rescue=true\nrescue=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/\#resize\=false/#resize=false\nresize=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/\#xml_api_v2\=true/#xml_api_v2=true\nxml_api_v2=false/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/allow_tenant_isolation = True/allow_tenant_isolation = False/' /opt/stack/tempest/etc/tempest.conf
sed -i 's/ force_tenant_isolation = True/# force_tenant_isolation = True/' /opt/stack/tempest/tempest/api/compute/servers/test_list_servers_negative.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment