Each Cloud provider has its own way to handle user data parameters. Please follow these tutorials to learn how to use them:
The parameters can be set when creating the instance, in the Advanced details section at step 3 (Configure Instance):
Or when an existing instance is stopped, in Actions > Instance Settings > Edit user data:
You can then copy and paste your code, or import a file containing the code in JSON format.
The parameters can only be set from an existing instance when it is stopped:
- From the Allyun console, go to Elasctic Compute Service > Instances & Images > Instances
Click on a stopped instance to access its details:
Click on All Operations and select Set user data:
Copy and paste your JSON code:
Click Ok to apply the parameters.
The parameters can be set when creating the instance, in the Management > Metadata section:
Click ADD ITEM
In the Key field, input the string
In the Value field, copy and paste your JSON code:
Create your instance.
Your parameters will be displayed in the VM instance details, in the Custom metadata section:
It is also possible to set the parameters in an existing instance when it is stopped:
- In VM instance details, click EDIT
In Custom metadata, click Add item
Set the Key to
genymotionConfigand copy and paste your JSON code in the Value field: