Reputation: 77
I need a copy of cinder volume, so that only hostname is changed with the same contents of as of the existing cinder volume?
Upvotes: 2
Views: 8050
Reputation: 31
You can take a snapshot of your original VM and create a second instance booting up from that snapshot. The hostname can be changed using cloud-init (or manually after the first boot).
Upvotes: 0
Reputation: 753
You can try to use this tool to replicate VMs. It works with both local or bootable volumes: https://github.com/sapcc/cyclone
Upvotes: 0
Reputation: 86
I assume that you have an instance that's boot from volume? You can create an image using Cinder backup, and from that image create another volume, and boot your instance from that volume.
Upvotes: 0