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
This commit is contained in:
Ben Nemec 2016-01-21 13:25:33 -06:00
parent 5d0b750399
commit 1b0ca07d86

View File

@ -12,4 +12,4 @@ if [ -z "$python_path" ]; then
exit 1
fi
ln -s $python_path /usr/local/bin/dib-python
ln -sf $python_path /usr/local/bin/dib-python