You are here
Eyvind Baadnes - Fri, 2011/08/12 - 12:16
Hi,
if I launch a turnkey image in Amazon, without using the Hub, is it possible to pass the desired root password to the instance at first boot using the EC2 tools?
I know you can use the HUB for this, and you can select the desired password there, but is it possible to do the same using the ec2 tools?
Regards,
Eyvind B
Forum:
Yes and no...
It is possible to use ec2-userdata to pre-seed a password, but I would highly recommend against it due to security issues (for example, userdata never expires, and is readable by any process on the system that can access the network).
For this reason, we developed a Secure, flexable, scalable Amazon EC2 instance preseeding mechanism, which is what the Hub uses for preseeding.
Anyway, if what you want is to use the CLI, take a look at hubtools and the Hub API.
Add new comment