[CentOS] KVM virt-install: import guest

Tue Jan 31 08:17:46 UTC 2023
Helmut Drodofsky <drodofsky at internet-xs.de>

Hello All,

Host: CentOS 9, guest: CentOS 8, 1 network interface with public ip.

While importing guest, network configuration will be destroyed: 
connection: device and gateway are purged.

Both: virt-manager gui and cli example:

virt-install --import --os-variant none --virt-type kvm --name xx 
--memory 2048 --vcpus 2 --disk ./xx.qcow2

How can this behavior suppressed?


-- 
Viele Grüße
Helmut Drodofsky

Internet XS Service GmbH
Heßbrühlstraße 15
70565 Stuttgart

Geschäftsführung
Helmut Drodofsky
HRB 21091 Stuttgart
USt.ID: DE190582774
Fon: 0711 781941 0 <tel:+497117819410>
Fax: 0711 781941 79
Mail: info at internet-xs.de
www.internet-xs.de