Provider user-data to AWS Add Host

I have recently setup a Rancher cluster on AWS using RancherOS as it’s nodes. Right now I manually created all these from the provided AMIs, upgraded them and manually joined them.

On the Add Host screen, I see AWS is an option, but if I read it correctly, it defaults to ubuntu machines. I see I can select another AMI, so I could launch RancherOS ones, but how would I provide the user-data to it to launch with?

You can’t, not because of Rancher but because Docker machine doesn’t support it:

Rancher simply calls Docker Machine to launch machines.

Oh, that’s a shame, so I will have to continue going in the AWS console to boot up instances with custom user-data.

Thanks

Couldn’t you pass the information to the AWS_USERDATA env variable used by docker-machine?