Repository is archived
No commit activity in last 3 years
No release in over 3 years
Automated CloudStack VM cloning
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 12.3

Runtime

~> 0.20
 Project Readme

CloudstackCloner

Gem Version

Automated CloudStack VM cloning and copying/attaching of existing data disks. CloudstackCloner uses cloudstack_client for CloudStack API communication.

Installation

Install the Gem:

$ gem install cloudstack_cloner

Configuration

A cloudstack-cli style configuration file is used for setting up URL, keys and secrets of your CloudStack API connection.

Usage

Preconditions

  • The machine to be cloned has to be in "Stopped" state.
  • The data disks to be copied have to be in state "Ready".

Example

$ cloudstack_cloner clone --virtual_machine test01 --clone-name test-clone --project Playground --data-volumes test-volume --offering 2cpu_2gb

Contributing

  1. Fork it ( https://github.com/[my-github-username]/cloudstack_cloner/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request