Skip to content

Instantly share code, notes, and snippets.

@nrb
Last active September 28, 2016 23:17
Show Gist options
  • Save nrb/3b5f066ccebc9057381bcbfa6f933803 to your computer and use it in GitHub Desktop.
Save nrb/3b5f066ccebc9057381bcbfa6f933803 to your computer and use it in GitHub Desktop.
Quick, dirty, undocumented way to generate a complete openstack_user_config.yml file for openstack-ansible. Should work in stable/newton and master as it transitions to Ocata. If you wish to change the config, edit the .aio files in etc/openstack_deploy/(conf.d)
#!/bin/env bash
touch tests/__init__.py
python -c "from tests.test_inventory import make_config; make_config()"
echo "tests/inventory/openstack_user_config.yml created"
rm tests/__init__.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment