]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow per-deployment configuration of user id
authorsdake <sdake@redhat.com>
Wed, 13 Mar 2013 04:50:58 +0000 (21:50 -0700)
committersdake <sdake@redhat.com>
Thu, 14 Mar 2013 16:51:59 +0000 (09:51 -0700)
commitac8b8f9c42911529aab585413bbd7344bd754dad
treec415c0a24cc729b5c09829165db2148bb58d388a
parent5862514aef704409e5d4463827953e06ced207b6
Allow per-deployment configuration of user id

Previously user ids of new instances were limited to ec2-user.
This patch adds a new configuration option to be placed in
/etc/heat/heat-engine.conf called "default_instance_user" which
allows the default of ec2-user to be overriden.

Note for reviewers that runcmd does not work properly.  It was
actually running after the loguserdata.py script finished execution.

Fixes: Bug #1101347
Change-Id: Ica2dbe63d9dcbce8bb8de298eba452c34ab173d9
MANIFEST.in
heat/cloudinit/boothook.sh [new file with mode: 0644]
heat/cloudinit/config
heat/common/config.py
heat/engine/resources/instance.py