Add step to send UMB message
If reuse old ISO finished, send out UMB message.
Signed-off-by: Lingyan Zhuang <lzhuang@redhat.com>
(cherry picked from commit 8cf1d98312
)
This commit is contained in:
parent
aba5a7a093
commit
67ae4202c4
@ -154,6 +154,13 @@ class CreateisoPhase(PhaseLoggerMixin, PhaseBase):
|
|||||||
disc_num=cmd["disc_num"],
|
disc_num=cmd["disc_num"],
|
||||||
disc_count=cmd["disc_count"],
|
disc_count=cmd["disc_count"],
|
||||||
)
|
)
|
||||||
|
if self.compose.notifier:
|
||||||
|
self.compose.notifier.send(
|
||||||
|
"createiso-imagedone",
|
||||||
|
file=cmd["iso_path"],
|
||||||
|
arch=arch,
|
||||||
|
variant=str(variant),
|
||||||
|
)
|
||||||
|
|
||||||
def try_reuse(self, cmd, variant, arch, opts):
|
def try_reuse(self, cmd, variant, arch, opts):
|
||||||
"""Try to reuse image from previous compose.
|
"""Try to reuse image from previous compose.
|
||||||
|
Loading…
Reference in New Issue
Block a user