File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -279,18 +279,6 @@ func (scope *machineReconcileScope) releaseHardware(hw *tinkv1.Hardware) error {
279
279
delete (hw .ObjectMeta .Labels , HardwareOwnerNameLabel )
280
280
delete (hw .ObjectMeta .Labels , HardwareOwnerNamespaceLabel )
281
281
delete (hw .ObjectMeta .Annotations , HardwareProvisionedAnnotation )
282
- /*
283
- // setting the AllowPXE=true indicates to Smee that this hardware should be allowed
284
- // to netboot. FYI, this is not authoritative.
285
- // Other hardware values can be set to prohibit netbooting of a machine.
286
- // See this Boots function for the logic around this:
287
- // https://github.com/tinkerbell/smee/blob/main/internal/ipxe/script/ipxe.go#L112
288
- for _, ifc := range hw.Spec.Interfaces {
289
- if ifc.Netboot != nil {
290
- ifc.Netboot.AllowPXE = ptr.To(true)
291
- }
292
- }
293
- */
294
282
295
283
controllerutil .RemoveFinalizer (hw , infrastructurev1 .MachineFinalizer )
296
284
You can’t perform that action at this time.
0 commit comments