Skip to content

Easy way to provision VMs programatically *exactly* like through the web UI? #1531

Answered by jelly
alexpdp7 asked this question in Q&A
Discussion options

You must be logged in to vote

We don't really expose this and I don't think we should, but you can find the virt-install line here

with prepare_unattended(args) as unattended_params, prepare_cloud_init(args) as cloud_init_params:

Not sure if there is a tool which can convert the virt xml to a virt-install command.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alexpdp7
Comment options

@jelly
Comment options

jelly Apr 3, 2024
Collaborator

Answer selected by alexpdp7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants