mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
Merge pull request #422 from mrekucci/mkisofs_fix
Add check for mkisofs
This commit is contained in:
commit
259ecfec03
@ -55,6 +55,12 @@ if [ $(id -u) -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# mkisofs tool check
|
||||||
|
if ! which mkisofs &>/dev/null; then
|
||||||
|
echo "$0: mkisofs tool is required to create image." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$HNAME" ]; then
|
if [ -z "$HNAME" ]; then
|
||||||
echo "$0: The hostname parameter '-H' is required." >&2
|
echo "$0: The hostname parameter '-H' is required." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user