XEN虚拟机更改主机名

时间 : 14-10-26 栏目 : 虚拟化 作者 : 老薛 评论 : 0 点击 : 1,245 次

create by 保定开源人

[root@bdkyr018 xen]# cat bdkyr-004
name = "bdkyr-004"
uuid = "15b3c78a-83af-6677-60c7-d3d4727b3169"
maxmem = 4096
memory = 4096
vcpus = 2
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "phy:/dev/vgIdcProduct-018/bdkyr-004,xvda,w" ]
vif = [ "mac=00:16:36:51:c1:69,bridge=xenbr0,script=vif-bridge" ]
[root@bigWLWX018 xen]#mv bdkyr-004  seoVM-002
#这样不算完毕,当虚拟机启动后,用xm list命令查看,还是显示bdkyr-004
#===vi seoVM-002=====#
name = "seoVM-002"
uuid = "15b3c78a-83af-6677-60c7-d3d4727b3169"
maxmem = 4096
memory = 4096
vcpus = 2
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "phy:/dev/vgIdcProduct-018/bdkyr-004,xvda,w" ]
vif = [ "mac=00:16:36:51:c1:69,bridge=xenbr0,script=vif-bridge" ]

本文标签

除非注明,文章均为( 老薛 )原创,转载请保留链接: http://www.bdkyr.com/uncategorized/313.html

XEN虚拟机更改主机名:等您坐沙发呢!

发表评论

2 + 5 = ?


博主微信号,很高兴为您提供帮助

随便看看

0