-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problems with VM create #10
Comments
@idfol it is probably because scripty is currently pinned to an early version of the CLI. I am about to change this and will test your command to make sure it works. |
@idofl fixed now, sorry for the delay! |
glennblock
added a commit
to glennblock/azure-scripty
that referenced
this issue
Sep 27, 2013
…rrent version. Fix for azure-contrib#11 and azure-contrib#10" This reverts commit 1853653.
glennblock
added a commit
to glennblock/azure-scripty
that referenced
this issue
Sep 27, 2013
glennblock
added a commit
to glennblock/azure-scripty
that referenced
this issue
Jan 26, 2014
glennblock
added a commit
to glennblock/azure-scripty
that referenced
this issue
Jan 26, 2014
…rrent version. Fix for azure-contrib#11 and azure-contrib#10" This reverts commit 1853653.
glennblock
added a commit
to glennblock/azure-scripty
that referenced
this issue
Jan 26, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to run the following code to create a VM, similar to how I use the "azure vm create" CLI (for a Windows Server 2012 image).
cmd = {
command: 'vm create',
positional: [vmName, imageName, 'administrator', password],
location: location,
rdp: true
};
scripty.invoke(cmd)
The scripts runs for a second or two and then prints:
Error: Command failed: The hosted service is not valid.
If I run the azure cli "vm create" command with the same values (positional and parameters) it works without a problem (the CLI creates a cloud service for the VM).
Any ideas what is wrong with this code?
The text was updated successfully, but these errors were encountered: