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

Jake G. dj_dark_junglist at yahoo.com
Thu Jul 25 00:58:02 UTC 2013

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 at ubuntu.com>
To: Dean Troyer <dtroyer at gmail.com> 
Cc: "openstack at lists.launchpad.net" <openstack at lists.launchpad.net> 
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 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.

Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130724/bd9c8d52/attachment.html>

More information about the Openstack mailing list