ee2f04b97187789f1b6dc1006f4ef22ac5d80234
[automated-distro-installer] / 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