aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xresources/tools/disk-image-builder/centos/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/disk-image-builder/centos/build.sh b/resources/tools/disk-image-builder/centos/build.sh
index 4b2304294e..c01d8f634e 100755
--- a/resources/tools/disk-image-builder/centos/build.sh
+++ b/resources/tools/disk-image-builder/centos/build.sh
@@ -208,7 +208,7 @@ ln ${RPM_CACHE_DIR}/rpm-packages.txt ${OUTPUT_DIR}/temp/rpm/rpm-packages.txt
mkdir -p ${PIP_CACHE_DIR}
# Let PIP do the work of downloading and verifying packages
-pip install --download ${PIP_CACHE_DIR} -r ${LIST}/pip-requirements.txt
+pip download -d ${PIP_CACHE_DIR} -r ${LIST}/pip-requirements.txt
# Link packages and requirements file into VM's temp directory
mkdir -p ${OUTPUT_DIR}/temp/pip