Linode CLI Stackscripts problem
I wonder if someone can help me, I'm trying to create a VM and run a script, is this the correct json syntax?
linode create Node03 –location dallas --plan linode1024 --payment-term 1 --distribution 'Ubuntu 12.04' --group HTTPCluster --stackscript 12 --stackscriptjson { "dbpassword": "test12345" } --password test12345
I get this error
The JSON provided is invalid. Re-run with 'linode rebuild Node03 …'
Many thanks
1 Reply
Replace:
--stackscriptjson { "db_password": "test12345" }
with:
--stackscriptjson '{ "db_password": "test12345" }'
to tell the CLI to interpret your JSON string as 1 command-line parameter