From 1f9e669dbc2215630006a44017bf5e782641f807 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 11 Feb 2016 13:47:31 +0100 Subject: [PATCH] Do not remove python-dev from ironic-agent image While it does save 1MiB of space, it might also pull python packages depending on it. E.g. it makes impossible to install python-hardware on the IPA image for advanced introspection. Change-Id: Iab80dde63e6de62a5e45dcf404b4f9f633e50ac3 --- elements/ironic-agent/post-install.d/80-ironic-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/ironic-agent/post-install.d/80-ironic-agent b/elements/ironic-agent/post-install.d/80-ironic-agent index 5c0ff5780..999a3d8cd 100755 --- a/elements/ironic-agent/post-install.d/80-ironic-agent +++ b/elements/ironic-agent/post-install.d/80-ironic-agent @@ -6,7 +6,7 @@ fi set -eu set -o pipefail -install-packages -e python-dev git cloud-init +install-packages -e git cloud-init rm -rf /tmp/ironic-python-agent