Skip to content
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

--image flag always reports "image must be specified" ... usage message doesn't list short flags #42

Open
ryancnelson opened this issue Nov 8, 2013 · 1 comment

Comments

@ryancnelson
Copy link
Contributor

sdc-createmachine doesn't seem to be accepting the "--image" switch:

$ env | grep SDC | grep -v CLI
SDC_URL=https://us-west-1.api.joyentcloud.com
SDC_ACCOUNT=xxxxxx
SDC_KEY_ID=fd:9c:78:0f:bd:58:e0:88:38:01:44:3b:ab:80:a5:93

$ sdc-createmachine --image f669428c-a939-11e2-a485-b790efc0f0c1
image must be specified

$ sdc-createmachine -e f669428c-a939-11e2-a485-b790efc0f0c1
<bunch of happy "success" json output here>

$ sdc-createmachine --help
sdc-createmachine [--account string] [--debug boolean] [--dataset string] [--enable-firewall boolean] [--help boolean] [--keyId string] [--metadata ] [--name string] [--networks ] [--package string] [--script path] [--tag ] [--url url]

$ npm list -g | grep smartdc
└─┬ [email protected]
└─┬ [email protected]

@ryancnelson
Copy link
Contributor Author

typo in my filing... there should be "happy acceptance json" after the sdc-createmachine with "-e" ... it doesn't work with what should be equivalent "--image"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant