
The undercloud actually has dib run twice on it - once to create the instack image, and again when we run instack itself. The first run creates the dib-python symlink, and the second blows up because the link already exists. Force the link creation so the script is idempotent. Change-Id: I78f9e6f5afcf8ebe6d7911a7a434525ba7c737cf
dib=-python
Adds a symlink to /usr/local/bin/dib-python which points at either a python2 or python3 executable. This is useful for creating #! lines for scripts that are compatible with both python2 and python3.
This does not install a python if one does not exist, and instead fails.