This change let user to explicitly set ELEMENTS_PATH to custom DIB
elements while running the script or use already set as environment
variable. It will prepend path to 'ironic-python-agent-builder' instead
of overwriting it.
Change-Id: I7ec6c222e9678d7dbb3f4f50c3a2de0a9c9a5793
Story: 2007309
Task: 38809
This reduces the size of the image slightly. We don't need latest
versions since we update pip in our venv anyway.
Change-Id: I7729b8c286c641a7b70a775ffe73f9f1c9dbff2d
On Ubuntu pip installs everything to /usr/local by default, including
putting DIB element to /usr/local/share, where we cannot find it.
This changes add support for it and additionally improves error message.
Change-Id: I52e0abd7e69668f15ca7a02ad238a96b98eeaaf3
* Install dib files to /usr/share (tinyipa TBD later)
* Add an executable that can be installed into /usr/bin
Since we now have python code, make pep8 operational.
Change-Id: I9235885485833c4011e42da6db01e150821bd8da