-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow clone vm from different datacenter #263
Conversation
if datacenter option is in clone arguments, add vm's datacenter as template_datacenter, as vm to use as template may be in different datacenter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition @scambra ! 👍
Just one nit, let me know what you think :)
Love the dead code deletion! please more of that xD
@@ -104,14 +110,11 @@ def vm_clone(options = {}) | |||
# Option handling | |||
options = vm_clone_check_options(options) | |||
|
|||
# Added for people still using options['path'] | |||
template_path = options['path'] || options['template_path'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I bet there is more dead code like this xD
Co-authored-by: Ondřej Ezr <ezrik12@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @scambra ! 👍
Do you need this released fast or can it wait a while? |
Starting to kick off regression tests |
I can wait, I can use repository in gemfile until it's released |
if datacenter option is in clone arguments, add vm's datacenter as template_datacenter, as vm to use as template may be in different datacenter