update to 31b795ca71189b326b80666076398f31aea4f2be
[automated-distro-installer] / fai / config / class / 85-efi-classes
1 #! /bin/bash
2
3 # define classes for disk_config in an EFI enironment
4
5 if [ ! -d /sys/firmware/efi ]; then
6 exit 0
7 fi
8
9 if ifclass FAIBASE; then
10 echo FAIBASE_EFI
11 elif ifclass FAISERVER; then
12 echo FAISERVER_EFI
13 elif ifclass LVM; then
14 echo LVM_EFI
15 elif ifclass XENIAL; then
16 echo XENIAL_EFI
17 fi