diff --git a/controls/os_spec.rb b/controls/os_spec.rb index 09367de..65a065f 100644 --- a/controls/os_spec.rb +++ b/controls/os_spec.rb @@ -210,7 +210,11 @@ its(:content) { should match 'install hfsplus /bin/true' } its(:content) { should match 'install squashfs /bin/true' } its(:content) { should match 'install udf /bin/true' } - its(:content) { should match 'install vfat /bin/true' } + # if efi is active, do not disable vfat. otherwise the system + # won't boot anymore + unless Dir.exist?('/sys/firmware/efi') + its(:content) { should match 'install vfat /bin/true' } + end end end