Commit 282921a6 authored by Thomas Goirand's avatar Thomas Goirand

Fixed the sudoers file to support the --login option. (Closes: #766234)

parent 628b7126
......@@ -235,7 +235,7 @@ chroot ${MOUNT_DIR} adduser --gecos Cloud-init-user --disabled-password --quiet
# Adds the "debian" user to sudoers, since that is the way
# cloud-init grant access
mkdir -p ${MOUNT_DIR}/etc/sudoers.d
echo "debian ALL = NOPASSWD: ALL" >${MOUNT_DIR}/etc/sudoers.d/debian-cloud-init
echo "${USER_LOGIN} ALL = NOPASSWD: ALL" >${MOUNT_DIR}/etc/sudoers.d/debian-cloud-init
chmod 0440 ${MOUNT_DIR}/etc/sudoers.d/debian-cloud-init
### Customize: misc stuff ###
......
openstack-debian-images (0.12) unstable; urgency=medium
* Fixed the sudoers file to support the --login option. (Closes: #766234)
-- Thomas Goirand <zigo@debian.org> Sat, 25 Oct 2014 15:49:36 +0800
openstack-debian-images (0.11) unstable; urgency=medium
* Using "console=tty0 console=ttyS0,115200" as boot parameter. The issue to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment