[Openstack] Image prep. cloud-init user configuration help.

Scott Moser smoser at ubuntu.com
Wed Jul 24 15:23:26 UTC 2013


On Tue, 23 Jul 2013, Dean Troyer wrote:

> On Tue, Jul 23, 2013 at 1:49 AM, Jake G. <dj_dark_junglist at yahoo.com> wrote:
> > I am following the part on how to set up cloud-init from the below guide,
> > but I was wondering how to change the user?
> > I do not have the default ec2-user on my instance image. Do I just create
> > this user in the instance? What permissions do I give the user?
>
> About half way down this page
> (http://hackstack.org/x/blog/2013/04/25/a-centos-6-image-for-openstack/)
> is a link to a centos 6 kickstart file that configures cloud-init
> during the kickstart %POST phase to behave similar to how it works on
> Ubuntu images by default: create a 'centos' user with sudo permissions
> to root.

Josh was right, though.
Recent versions of cloud-init will create the user if it is not there.
If the user is present, it will not modify it.




More information about the Openstack mailing list