diskimage-builder/elements/dib-python
Ben Nemec 1b0ca07d86 Force dib-python symlink creation
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
2016-01-21 13:25:33 -06:00
..
pre-install.d Force dib-python symlink creation 2016-01-21 13:25:33 -06:00
README.rst Add dib-python element 2015-12-10 19:39:38 +00:00

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.