diff --git a/share/x86.tmpl b/share/x86.tmpl
index db19bdf0..023c1af2 100644
--- a/share/x86.tmpl
+++ b/share/x86.tmpl
@@ -59,7 +59,7 @@ hardlink ${KERNELDIR}/initrd.img ${BOOTDIR}
     for img in images:
         efiargs += " -eltorito-alt-boot -e {0} -no-emul-boot".format(img)
         efigraft += " {0}={1}/{0}".format(img,outroot)
-    efihybrid="--uefi --mac"
+    efihybrid = "--uefi --mac" if domacboot else "--uefi"
     %>
     <%include file="efi.tmpl" args="configdir=configdir, KERNELDIR=KERNELDIR, efiarch=efiarch"/>
 %endif