dataset/seed/base-machine/manual/install/install_images

18 lines
353 B
Text
Raw Normal View History

2022-05-04 10:29:03 +02:00
#!/bin/bash -e
2022-03-08 19:42:28 +01:00
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
2022-05-04 10:29:03 +02:00
echo
echo "Install image $image"
2022-03-08 19:42:28 +01:00
./install_image "$HOST_NAME" "$image"
fi
done
rm -f $IMAGE_BASE_RISOTTO_BASE_DIR*.build
exit 0