wait for package installation

87 views
Skip to first unread message

Leonardo Rossetti

unread,
Oct 18, 2021, 5:00:08 PM10/18/21
to kubevirt-dev
Hello,

Is there a way to make cloud-init wait the "packages" section to be done with?

According to cloud-init's documentation this happens at the "final stage"[1] but its execution doesn't block anything and I believe I can't just wait for cloud-init to be done with in the "bootcmd" section right?

Thanks!

Roman Mohr

unread,
Oct 19, 2021, 4:29:56 AM10/19/21
to Leonardo Rossetti, kubevirt-dev
On Mon, Oct 18, 2021 at 11:00 PM Leonardo Rossetti <lros...@redhat.com> wrote:
Hello,

Is there a way to make cloud-init wait the "packages" section to be done with?

According to cloud-init's documentation this happens at the "final stage"[1] but its execution doesn't block anything and I believe I can't just wait for cloud-init to be done with in the "bootcmd" section right?

I had to solve something similar where I only wanted to start the qemu guest agent after cloud-init was done. I injected a service which waits for the cloud-init service to be done: https://github.com/kubevirt/kubevirtci/pull/648/files#diff-60e708f2e40cf0f5d49420a079fdd43d2a2b2691cada7e745ee1033d195d8a80R23

Maybe that helps.

Best regards,
Roman
 
--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/80223045-f164-4d07-a821-e3cc8499afe0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages