Changes between Version 4 and Version 5 of KVM


Ignore:
Timestamp:
03/16/16 19:13:26 (8 years ago)
Author:
sky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KVM

    v4 v5  
    1717
    1818## VM Console & Initialize (CentOS 6)
    19 virsh console test101
     19virsh start test101 && virsh console test101
    2020
    2121
     
    3030################################################################################
    3131
     32## VM Console & Initialize (CentOS 7)
     33virsh start test104 && virsh console test104
     34
     35
     36NNAME=test104
     37NIP=10.59.72.104
     38
     39hostnamectl set-hostname "$NNAME"
     40sed -i "/^IPADDR/ s/10.59.72.110/$NIP/" /etc/sysconfig/network-scripts/ifcfg-eth0
     41init 6
     42
     43################################################################################
     44
    3245}}}
    3346