live-server: fix looking for ga variant

This commit is contained in:
Dan Bungert 2024-09-11 10:10:08 -06:00
parent 2154b4fe1f
commit c9df34c340

View File

@ -1006,7 +1006,7 @@ case $PROJECT in
fi
add_pass ubuntu-server-minimal.ubuntu-server.installer.$flavor
if [ $flavor == ga ]; then
if [ "$variant" = "ga" ]; then
kernel_layer=ubuntu-server-minimal
else
kernel_layer=ubuntu-server-minimal.ubuntu-server.installer.$flavor