copy to a directory not file

This commit is contained in:
Jesse Andrews 2011-10-25 23:48:39 -07:00
parent 9173d06706
commit 244655f0c5

View file

@ -290,6 +290,7 @@ for image_url in ${IMAGE_URLS//,/ }; do
if [ ! -f $IMAGES_DIR/$IMAGE_FNAME ]; then
wget -c $image_url -O $IMAGES_DIR/$IMAGE_FNAME
fi
mkdir -p $ROOTFS/$DEST/devstack/files/images
cp $IMAGES_DIR/$IMAGE_FNAME $ROOTFS/$DEST/devstack/files/images
done