fixes syntax error

This commit is contained in:
Menno van Leeuwen 2024-11-08 14:02:29 +01:00
parent 2a795cd19e
commit 73013b36d0
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -62,8 +62,13 @@ create_hardware_config() {
read type
done
isWorkstation=$(if [ $type == "w" ]; then echo "true"; else echo "false"; fi)
isServer=$(if [ $type == "s" ]; then echo "true"; else echo "false" fi)
if [ $type == "s" ]; then
isServer="true"
isWorkstation="false"
else
isServer="false"
isWorkstation="true"
fi
flakeConfiguration="