@@ -66,15 +66,177 @@ spec:
6666 description : BootOptions are options that control the booting of Hardware.
6767 properties :
6868 bootMode :
69- description : |-
70- BootMode is the type of booting that will be done.
71- Must be one of "none", "netboot", "iso", or "isoboot".
69+ description : BootMode is the type of booting that will be done.
70+ One of "netboot", "isoboot", or "customboot".
7271 enum :
73- - none
7472 - netboot
75- - iso
7673 - isoboot
74+ - iso
75+ - customboot
7776 type : string
77+ custombootConfig :
78+ description : |-
79+ CustombootConfig is the configuration for the "customboot" boot mode.
80+ This allows users to define custom BMC Actions.
81+ properties :
82+ postActions :
83+ description : |-
84+ PostActions are the BMC Actions that will be run after all Workflow Actions have completed.
85+ In most cases these Actions should get a Machine into a state where it can be powered off or rebooted and remove any mounted virtual media.
86+ These Actions will be run only if the main Workflow Actions complete successfully.
87+ items :
88+ description : |-
89+ Action represents the action to be performed.
90+ A single task can only perform one type of action.
91+ For example either PowerAction or OneTimeBootDeviceAction.
92+ maxProperties : 1
93+ properties :
94+ bootDevice :
95+ description : BootDevice is the device to set as the
96+ first boot device on the Machine.
97+ properties :
98+ device :
99+ description : Device is the name of the device to
100+ set as the first boot device.
101+ type : string
102+ efiBoot :
103+ description : EFIBoot indicates whether the boot
104+ device should be set to efiboot mode.
105+ type : boolean
106+ persistent :
107+ description : Persistent indicates whether the boot
108+ device should be set persistently as the first
109+ boot device.
110+ type : boolean
111+ type : object
112+ oneTimeBootDeviceAction :
113+ description : OneTimeBootDeviceAction represents a baseboard
114+ management one time set boot device operation.
115+ properties :
116+ device :
117+ description : |-
118+ Devices represents the boot devices, in order for setting one time boot.
119+ Currently only the first device in the slice is used to set one time boot.
120+ items :
121+ description : BootDevice represents boot device
122+ of the Machine.
123+ type : string
124+ type : array
125+ efiBoot :
126+ description : EFIBoot instructs the machine to use
127+ EFI boot.
128+ type : boolean
129+ required :
130+ - device
131+ type : object
132+ powerAction :
133+ description : PowerAction represents a baseboard management
134+ power operation.
135+ enum :
136+ - " on"
137+ - " off"
138+ - soft
139+ - status
140+ - cycle
141+ - reset
142+ type : string
143+ virtualMediaAction :
144+ description : VirtualMediaAction represents a baseboard
145+ management virtual media insert/eject.
146+ properties :
147+ kind :
148+ description : Kind represents the kind of virtual
149+ media.
150+ type : string
151+ mediaURL :
152+ description : mediaURL represents the URL of the
153+ image to be inserted into the virtual media, or
154+ empty to eject media.
155+ type : string
156+ required :
157+ - kind
158+ type : object
159+ type : object
160+ type : array
161+ preparingActions :
162+ description : |-
163+ PreparingActions are the BMC Actions that will be run before any Workflow Actions.
164+ In most cases these Actions should get a Machine into a state where a Tink Agent is running.
165+ items :
166+ description : |-
167+ Action represents the action to be performed.
168+ A single task can only perform one type of action.
169+ For example either PowerAction or OneTimeBootDeviceAction.
170+ maxProperties : 1
171+ properties :
172+ bootDevice :
173+ description : BootDevice is the device to set as the
174+ first boot device on the Machine.
175+ properties :
176+ device :
177+ description : Device is the name of the device to
178+ set as the first boot device.
179+ type : string
180+ efiBoot :
181+ description : EFIBoot indicates whether the boot
182+ device should be set to efiboot mode.
183+ type : boolean
184+ persistent :
185+ description : Persistent indicates whether the boot
186+ device should be set persistently as the first
187+ boot device.
188+ type : boolean
189+ type : object
190+ oneTimeBootDeviceAction :
191+ description : OneTimeBootDeviceAction represents a baseboard
192+ management one time set boot device operation.
193+ properties :
194+ device :
195+ description : |-
196+ Devices represents the boot devices, in order for setting one time boot.
197+ Currently only the first device in the slice is used to set one time boot.
198+ items :
199+ description : BootDevice represents boot device
200+ of the Machine.
201+ type : string
202+ type : array
203+ efiBoot :
204+ description : EFIBoot instructs the machine to use
205+ EFI boot.
206+ type : boolean
207+ required :
208+ - device
209+ type : object
210+ powerAction :
211+ description : PowerAction represents a baseboard management
212+ power operation.
213+ enum :
214+ - " on"
215+ - " off"
216+ - soft
217+ - status
218+ - cycle
219+ - reset
220+ type : string
221+ virtualMediaAction :
222+ description : VirtualMediaAction represents a baseboard
223+ management virtual media insert/eject.
224+ properties :
225+ kind :
226+ description : Kind represents the kind of virtual
227+ media.
228+ type : string
229+ mediaURL :
230+ description : mediaURL represents the URL of the
231+ image to be inserted into the virtual media, or
232+ empty to eject media.
233+ type : string
234+ required :
235+ - kind
236+ type : object
237+ type : object
238+ type : array
239+ type : object
78240 isoURL :
79241 description : |-
80242 ISOURL is the URL of the ISO that will be one-time booted.
89251 MAC address is then used to retrieve hardware specific information such as
90252 IPAM info, custom kernel cmd line args and populate the worker ID for the tink worker/agent.
91253 For ex. the above format would be replaced to http://$IP:$Port/iso/<macAddress>/hook.iso
254+
255+ BootMode must be set to "isoboot".
92256 format : url
93257 type : string
94258 type : object
0 commit comments