commit 6ee4ba809642ebdff3b6b14b9f72c350817698ed
Author: Kevin Carter <email address hidden>
Date: Mon May 4 10:36:55 2015 -0500
Fixed container user create issue
This patch resolves an issue where the LXC container create user
password is being hard coded due to how the default LXC container
template is being used. The template allows for a container to be
created without specifying a password at create time however when
doing this the default LXC template will create a user and a
password based on the linux distribution's name. This means that
all users of a "ubuntu" template will have a "ubuntu" user which
will have a "ubuntu" password. While the container user must exist
the password does not need to be known to the end user/deployer
because there are other means to gain access to a container from
within the host. So to correct this issue for all deployers as
well as all future deployments this patch ensures that the container
user is created with a random password and provides for an additional
tag to allow the deployer to regenerate the password at will.
Change-Id: I81d0e8b0d8e9e431cd8eebd43ceaffab7e61b207
Closes-Bug: 1437054
(cherry pick from commit 8efb09f90dae73a21ec3dc21842fe28e668ead39)
Reviewed: https:/ /review. openstack. org/179836 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=6ee4ba80964 2ebdff3b6b14b9f 72c350817698ed
Committed: https:/
Submitter: Jenkins
Branch: kilo
commit 6ee4ba809642ebd ff3b6b14b9f72c3 50817698ed
Author: Kevin Carter <email address hidden>
Date: Mon May 4 10:36:55 2015 -0500
Fixed container user create issue
This patch resolves an issue where the LXC container create user
password is being hard coded due to how the default LXC container
template is being used. The template allows for a container to be
created without specifying a password at create time however when
doing this the default LXC template will create a user and a
password based on the linux distribution's name. This means that
all users of a "ubuntu" template will have a "ubuntu" user which
will have a "ubuntu" password. While the container user must exist
the password does not need to be known to the end user/deployer
because there are other means to gain access to a container from
within the host. So to correct this issue for all deployers as
well as all future deployments this patch ensures that the container
user is created with a random password and provides for an additional
tag to allow the deployer to regenerate the password at will.
Change-Id: I81d0e8b0d8e9e4 31cd8eebd43ceaf fab7e61b207 21ec3dc21842fe2 8e668ead39)
Closes-Bug: 1437054
(cherry pick from commit 8efb09f90dae73a