-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move boot script to cloud init #62
Conversation
Currently the VM guests are configured on a service added on the customize-vm script created in the image building process. There is no real need for the script to run on that context, and it is easier to manage if it runs as part of the cloud-init context. This commits: - copies the script to a checkup function. - adds the boot script to the vmi-under-test VM - mounts the script with the correct permissions. Signed-off-by: Ram Lavi <ralavi@redhat.com>
Currently the VM guests are configured on a service added on the customize-vm script created in the image building process. There is no real need for the script to run on that context, and it is easier to manage if it runs as part of the cloud-init context. This commits: - Runs the boot script on the cloud-init context. - Removes it from the images customize-vm scripts. Signed-off-by: Ram Lavi <ralavi@redhat.com>
0095444
to
f5f2818
Compare
CI fails because there is no mechanism to wait for the VMI to be ready now (RT kernel args are not updated when the test runs):
This will be fixed on the following PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve the PR before seeing that it failed.
Please re-add the commits that introduce the readiness probe.
closing in favor of #63 that will hold all commits above and the probe ones |
This PR moves the service introduced on customize-vm and run on every boot - to run under cloud-int service.
This reduces complexity and produces the same result.