cd /var/lib/libvirt/images
0.qcow2
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="yes"
PEERDNS="yes"
IPV6INIT="no"
PERSISTENT_DHCLIENT="1"
IPADDR=10.10.10.61
NETMASK=255.255.255.0
GATEWAY=10.10.10.1
DNS1=8.8.8.8
qemu-img resize name.qcow2 +10G
qemu-img info name.qcow2
启动机器fdisk /dev/vda
partprobe
mkfs.ext4 /dev/vda2