[CentOS] Creating KVM-based VM with virt-manager and virt-install on C7

Meikel

meikel at fn.de
Thu Jul 4 09:23:52 UTC 2019


Hi folks,

for learning purposes I create KVM-based VM with the virt-manager. Later 
I get rid of the VM and repeat the "process" again. When recreating the 
VM I always enter the same values into the wizard in virt-manager (i.e. 
I want to speicfy a given MAC).

I'd like to "automate" this procedure, all of what I do in virt-manager 
for creating the new VM, I' d like to do it with a bash script using 
virt-install.

I' wndering if it is possible to "record" the values when I enter them 
into virt-manager and extract those values for usage with virt-install? 
It's not clear to me when I enter a field in the wizard what is the 
corresponding parameter in virt-install.

Regards,

Meikel


More information about the CentOS mailing list