From eeb979fa13adda1903e985a8c4ab5ab26e94cebd Mon Sep 17 00:00:00 2001 From: Ramakrishnan G Date: Mon, 1 Jun 2015 02:11:22 +0000 Subject: [PATCH] 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 --- elements/ironic-agent/install.d/60-ironic-agent-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/ironic-agent/install.d/60-ironic-agent-install b/elements/ironic-agent/install.d/60-ironic-agent-install index 637ab56b..becf97af 100755 --- a/elements/ironic-agent/install.d/60-ironic-agent-install +++ b/elements/ironic-agent/install.d/60-ironic-agent-install @@ -12,11 +12,11 @@ install-packages python-dev qemu-utils parted hdparm util-linux genisoimage gcc # fixes for building behind proxy. curl -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py python /tmp/get-pip.py +rm -f /tmp/get-pip.py pip install -U setuptools pip install -r /tmp/ironic-python-agent/requirements.txt pip install /tmp/ironic-python-agent -rm -f /tmp/get-pip.py sudo echo $'[Unit] Description=Ironic Python Agent\n