1
0
mirror of https://github.com/rancher/os.git synced 2025-09-04 00:04:25 +00:00

Initial commit

This commit is contained in:
Darren Shepherd
2021-06-05 17:31:50 -07:00
commit 2b90d55b0d
30 changed files with 1201 additions and 0 deletions

20
tools/usr/bin/makeiso Executable file
View File

@@ -0,0 +1,20 @@
#!/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
cat > values.yaml << EOF
image: "$IMAGE"
EOF
luet build --values values.yaml iso/rootfs
luet create-repo
luet-makeiso iso.yaml --local /iso/build
cp distro*iso /output.iso