Using virt-install and cloud-init

I want to call out a stellar article that told me exactly what I needed to do in order to use virt-install and cloud-init to launch a cloud-image. The only thing I have to add is the caveat that the #cloud-config comment at the top of the user-data file is required. The system will ignore the file if it does not start with that comment. This is the easiest way I know to launch a brand new VM.

3 thoughts on “Using virt-install and cloud-init

  1. Did you also evaluate the cloud-init capabilities that were recently added to virt-install? For trivial things like ssh-keys, and even passing entire complex files I find the new arguments very convent!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.