forked from stove/dataset
16 lines
312 B
Text
16 lines
312 B
Text
|
#!/bin/bash -xe
|
||
|
HOST_NAME=$1
|
||
|
if [ -z "$HOST_NAME" ]; then
|
||
|
echo "usage: $0 host name"
|
||
|
exit 1
|
||
|
fi
|
||
|
. config.sh
|
||
|
rm -f $IMAGE_BASE_RISOTTO_BASE_DIR*.build
|
||
|
for image in *; do
|
||
|
if [ -d "$image" ]; then
|
||
|
./install_image "$HOST_NAME" "$image"
|
||
|
fi
|
||
|
done
|
||
|
rm -f $IMAGE_BASE_RISOTTO_BASE_DIR*.build
|
||
|
exit 0
|