check machine type
This commit is contained in:
parent
38ca34add3
commit
d694f05b8f
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,11 @@ if [ -z "${HOMEASSISTANT_DOCKER}" ]; then
|
||||||
echo "[Error] Found no Home Assistant Docker images for this host!"
|
echo "[Error] Found no Home Assistant Docker images for this host!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! "intel-nuc odroid-c2 odroid-n2 odroid-xu qemuarm qemuarm-64 qemux86 qemux86-64 raspberrypi raspberrypi2 raspberrypi3 raspberrypi4 raspberrypi3-64 raspberrypi4-64 tinker" = *"${MACHINE}"* ]]; fi
|
||||||
|
echo "[Error] Unknown machine type ${MACHINE}!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
### Main
|
### Main
|
||||||
|
|
||||||
# Init folders
|
# Init folders
|
||||||
|
|
Loading…
Reference in a new issue