tripleo-quickstart-extras/roles/undercloud-deploy/templates/undercloud-install.sh.j2
Sagi Shnaidman dcd51c5832 Restore user permissions on ~/.cache directory
Undercloud uses root for creating files in ~/.cache, but
DIB uses this directory for building images and fails to create
files there.

Change-Id: Ide1bffdba4b27343f23615f5855bf85af2d3acc9
2017-03-02 09:04:22 +00:00

22 lines
351 B
Django/Jinja

#!/bin/bash
set -eux
### --start_docs
## Installing the undercloud
## =========================
## ::
{% for var in (undercloud_env_vars|default([])) %}
export {{ var }}
{% endfor %}
openstack undercloud install
## * Workaround for bug https://bugs.launchpad.net/tripleo/+bug/1668939
## ::
sudo chown -R $USER: ~/.cache || true
### --stop_docs