openstack team mailing list archive
Mailing list archive
Re: Image prep. cloud-init user configuration help.
On Tue, 23 Jul 2013, Dean Troyer wrote:
> On Tue, Jul 23, 2013 at 1:49 AM, Jake G. <dj_dark_junglist@xxxxxxxxx> 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
> 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.