Fixed gate job

Fixed by adding boot mode for target host.
Default one is UEFI and not supported yet by Airship.

Change-Id: I58baa6e85050e1f4ea95b0e902f3593174762860
This commit is contained in:
Stanislav Egorov 2020-08-04 11:33:17 -07:00
parent 79555848f2
commit 38634457f2
3 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,7 @@ template: |
spec:
online: false
bootMACAddress: {{ $host.macAddress }}
bootMode: {{ $host.bootMode }}
networkData:
name: {{ $hostName }}-network-data
namespace: default

View File

@ -90,6 +90,12 @@ spec:
types, but required for libvirt VMs driven by vbmc.
pattern: '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}'
type: string
bootMode:
description: Select the method of initializing the hardware during boot.
enum:
- UEFI
- legacy
type: string
consumerRef:
description: ConsumerRef can be used to store information about something
that is using a host. When it is not empty, the host is considered

View File

@ -17,6 +17,7 @@ hosts:
macAddresses:
oam: 52:54:00:9b:27:4c
pxe: 52:54:00:b6:ed:31
bootMode: legacy
node02:
macAddress: 00:3b:8b:0c:ec:8b
bmcAddress: redfish+http://10.23.25.2:8000/redfish/v1/Systems/air-target-2