舒畅 发表于 2017-6-25 15:18:18

制作CentOS fence-agents 镜像

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 this 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 :
页: [1]
查看完整版本: 制作CentOS fence-agents 镜像