1
0
2020-09-21 08:22:54 +00:00

12 lines
277 B
Bash

#!/bin/bash
#
# Generate the kiwi file for the given target.
image="prometheus-webhook-snmp-image"
target=${1:-tumbleweed}
if [ ! -e ${target}.xml ]; then
echo "Unknown target: ${target}.xml must exist!"
exit 1
fi
xsltproc "${image}.xsl" "${target}.xml" > "${image}.kiwi"