Merge "Centos gives /dev/pts/ptmx the wrong perms" into stable/liberty

This commit is contained in:
Jenkins 2016-04-28 21:27:42 +00:00 committed by Gerrit Code Review
commit c675633a46

View File

@ -48,6 +48,9 @@ fi
/sbin/setenforce 0
/sbin/modprobe ebtables
# CentOS sets ptmx to 000. Withoutit being 666, we can't use Cinder volumes
chmod 666 /dev/pts/ptmx
# We need hostname -f to return in a centos container for the puppet hook
HOSTNAME=$(hostname)
echo "127.0.0.1 $HOSTNAME.localdomain $HOSTNAME" >> /etc/hosts