I have cloud-init on my images and when I use the UI and paste the yaml into the user_data field it spawns properly, but when I attempt this server data object:
var server_data = {
name: "apiRoleTest1",
flavorRef: '1',
imageRef:'long guid',
metadata:
{
"login_users": "etc"
},
user_data: yamlString
};
I am not getting any results or errors after logging onto the server.
thanks in advance
I have cloud-init on my images and when I use the UI and paste the yaml into the user_data field it spawns properly, but when I attempt this server data object:
var server_data = {
name: "apiRoleTest1",
flavorRef: '1',
imageRef:'long guid',
metadata:
{
"login_users": "etc"
},
user_data: yamlString
};
I am not getting any results or errors after logging onto the server.
thanks in advance