Add 'COMPUTE_FIRMWARE_UEFI', 'COMPUTE_FIRMWARE_BIOS'
This allows us to report this trait and use it to filter out hosts that support our requested 'hw_firmware_type'. Change-Id: Ifc06d6f9b1d3217d09fa20aafc2988acb11c80f2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
ac1b39eff3
commit
32112e9091
18
os_traits/compute/firmware.py
Normal file
18
os_traits/compute/firmware.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
TRAITS = [
|
||||
# The virt driver supports BIOS instancs.
|
||||
'BIOS',
|
||||
# The virt driver supports UEFI instances.
|
||||
'UEFI',
|
||||
]
|
Loading…
Reference in New Issue
Block a user