← Back to team overview

openstack team mailing list archive

Re: Image prep. cloud-init user configuration help.

 

I got the user correct now I am wondering why this is nessasary for my environment.
I am not using Amazon EC2 services so why would I need to get metadata from there API?

Can someone explain?


________________________________
 From: Scott Moser <smoser@xxxxxxxxxx>
To: Dean Troyer <dtroyer@xxxxxxxxx> 
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Thursday, July 25, 2013 12:23 AM
Subject: Re: [Openstack] 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
> (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.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Follow ups

References