copy to a directory not file
This commit is contained in:
parent
9173d06706
commit
244655f0c5
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ for image_url in ${IMAGE_URLS//,/ }; do
|
||||||
if [ ! -f $IMAGES_DIR/$IMAGE_FNAME ]; then
|
if [ ! -f $IMAGES_DIR/$IMAGE_FNAME ]; then
|
||||||
wget -c $image_url -O $IMAGES_DIR/$IMAGE_FNAME
|
wget -c $image_url -O $IMAGES_DIR/$IMAGE_FNAME
|
||||||
fi
|
fi
|
||||||
|
mkdir -p $ROOTFS/$DEST/devstack/files/images
|
||||||
cp $IMAGES_DIR/$IMAGE_FNAME $ROOTFS/$DEST/devstack/files/images
|
cp $IMAGES_DIR/$IMAGE_FNAME $ROOTFS/$DEST/devstack/files/images
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue