Skip to content

Commit

Permalink
Add pxe_loader to Host (#966) (#970)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
(cherry picked from commit e6f15ec)

Co-authored-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Satellite-QE and Gauravtalreja1 authored Jul 24, 2023
1 parent 55f0547 commit 38ee099
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -3707,6 +3707,25 @@ def __init__(self, server_config=None, **kwargs):
'traces_status': entity_fields.IntegerField(min_val=-1, max_val=2),
'traces_status_label': entity_fields.StringField(),
'uuid': entity_fields.StringField(),
'pxe_loader': entity_fields.StringField(
choices=(
'PXELinux BIOS',
'PXELinux UEFI',
'Grub UEFI',
'Grub2 BIOS'
'Grub2 ELF'
'Grub2 UEFI'
'Grub2 UEFI SecureBoot'
'Grub2 UEFI HTTP'
'Grub2 UEFI HTTPS'
'Grub2 UEFI HTTPS SecureBoot'
'iPXE Embedded'
'iPXE UEFI HTTP'
'iPXE Chain BIOS'
'iPXE Chain UEFI',
),
default='PXELinux BIOS',
),
}
self._owner_type = None # actual ``owner_type`` value
self._meta = {'api_path': 'api/v2/hosts'}
Expand Down

0 comments on commit 38ee099

Please sign in to comment.