> @@ -89,6 +89,14 @@ public void copyTo(final TemplateOptions to) {
> if (storageAccountType.isPresent()) {
> eTo.storageAccountType(storageAccountType.get());
> }
> +
> + final LoginCredentials credentials = new LoginCredentials.Builder().
> + user(loginUser).
> + password(loginPassword == null ||
> !loginPassword.isPresent() ? null : loginPassword.get()).
> + privateKey(loginPrivateKey == null ||
> !loginPrivateKey.isPresent() ? null : loginPrivateKey.get()).
> + authenticateSudo(authenticateSudo == null ? false :
> authenticateSudo).
> + build();
> + eTo.overrideLoginCredentials(credentials);
Is this really needed? Doesn't the superclass already copy this?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/156/files#r27519191