From eb5dc9ac97cfc010077824fbab0af8950ae3a318 Mon Sep 17 00:00:00 2001 From: Bernhard Suttner Date: Mon, 9 Mar 2026 16:39:28 +0100 Subject: [PATCH] Attach ISO disk before power on the machine The process should be like this: - create the host - attach the bootdisk - power on the host Fixes failed host creation if bootdisk is used a83a45c. --- app/models/concerns/foreman_bootdisk/orchestration/compute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/foreman_bootdisk/orchestration/compute.rb b/app/models/concerns/foreman_bootdisk/orchestration/compute.rb index ebed5be8..833ec838 100644 --- a/app/models/concerns/foreman_bootdisk/orchestration/compute.rb +++ b/app/models/concerns/foreman_bootdisk/orchestration/compute.rb @@ -31,7 +31,7 @@ def queue_bootdisk_compute action: [self, :setGenerateIsoImage]) queue.create(name: _('Upload ISO image to datastore for %s') % self, priority: 6, action: [self, :setIsoImage]) - queue.create(name: _('Attach ISO image to CDROM drive for %s') % self, priority: 1001, + queue.create(name: _('Attach ISO image to CDROM drive for %s') % self, priority: 900, action: [self, :setAttachIsoImage]) # Detach ISO image when host sends 'built' HTTP POST request elsif old&.build? && !build?