1
0
mirror of https://github.com/rancher/os.git synced 2025-07-21 10:29:04 +00:00
os/tools/usr/bin/makeiso

17 lines
237 B
Plaintext
Raw Normal View History

2021-06-06 00:31:50 +00:00
#!/bin/bash
IMAGE=$1
if [ -z "$IMAGE" ]; then
echo "Image name is required as the first argument"
echo
echo Usage: $0 [DOCKER_IMAGE]
exit 1
fi
cd /iso
luet-makeiso iso.yaml --image "$IMAGE"
2021-06-06 00:31:50 +00:00
cp distro*iso /output.iso