abiosoft / abiosoft/incus-apply

incus-apply does not wait even for kernel to be started in vm created from custom image

Aperta
#66 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
32
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello,

I create vm1 alpine1 from a standard `images:alpine/3.23/cloud` or `images:alpine/3.24/cloud`, both work fine, `incus-apply` even waits for `cloud-init` to complete and indicates all phases correctly.

Then I replace a kernel by `apk add` with my custom built kernel, reboot vm manually by `incus restart`, it works fine, boots correctly.

Now I clean out `cloud-init` configs and publish created vm1 as a new custom image and create a new vm2 from the image using `incus-apply` again. And now `incus-apply` does not wait enough even for vm2 to start, far from even trying to start `cloud-init`.

I checked by `incus console` command and discovered that kernel is being started more later than `incus-apply` already exited.

How can I fix this? Please let me know? How to force `incus-apply` to wait in vm2 kernel being started at least?

Thinking about moving to `Terraform` / `OpenTofu`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.