mirror of
https://github.com/rancher/os.git
synced 2025-07-18 17:11:04 +00:00
17 lines
237 B
Bash
Executable File
17 lines
237 B
Bash
Executable File
#!/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"
|
|
|
|
cp distro*iso /output.iso
|