On Tue, 23 Jul 2013, Dean Troyer wrote: > On Tue, Jul 23, 2013 at 1:49 AM, Jake G. <dj_dark_jungl...@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp