Address follow-up comments

This commit addresses follow-up comments on
I1ffb832ebab009b2d77a46e6c8fc758dd9632359. The change
is to delete get-pip.py immediately after installing pip.

Change-Id: I2768da2365b08304b8e7fcf55c91101b05ec33ea
This commit is contained in:
Ramakrishnan G 2015-06-01 02:11:22 +00:00
parent 80057470a6
commit eeb979fa13

View File

@ -12,11 +12,11 @@ install-packages python-dev qemu-utils parted hdparm util-linux genisoimage gcc
# fixes for building behind proxy. # fixes for building behind proxy.
curl -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py curl -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py
python /tmp/get-pip.py python /tmp/get-pip.py
rm -f /tmp/get-pip.py
pip install -U setuptools pip install -U setuptools
pip install -r /tmp/ironic-python-agent/requirements.txt pip install -r /tmp/ironic-python-agent/requirements.txt
pip install /tmp/ironic-python-agent pip install /tmp/ironic-python-agent
rm -f /tmp/get-pip.py
sudo echo $'[Unit] sudo echo $'[Unit]
Description=Ironic Python Agent\n Description=Ironic Python Agent\n