码迷,mamicode.com
首页 > 其他好文 > 详细

制作CentOS fence-agents 镜像

时间:2017-04-01 20:30:07      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:format   blank   for   .com   tar   com   alt   lin   png   

1, Download centos7 iso file:

Centos7 ISO download: http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso

2, Install centos7 with virt-manager:

boot a vm named “centos7-fence-agents” with that “Centos-7-x86_64-Minimal-1511.iso”.

3, Install fence-agents on ths vm:

I followed the steps of “method of installing fence-agents on linux” in “fence_agents kvm实验

4, Compress qcow2 file and upload to openstack:

# qemu-img convert –O qcow2 /var/lib/libvirt/image/centos7-fence-agents.qcow2 /path/new.qcow2
$ openstack image create --disk-format qcow2 --container-format bare --public --file /path/new.qcow2 centos7-fence-agents

5, Boot an openstack instance with “centos7-fence-agents” image :

技术分享

 

制作CentOS fence-agents 镜像

标签:format   blank   for   .com   tar   com   alt   lin   png   

原文地址:http://www.cnblogs.com/pinganzi/p/6657370.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!