Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cccb984
)
Centos gives /dev/pts/ptmx the wrong perms
author
Ryan Hallisey
<rhallise@redhat.com>
Mon, 21 Mar 2016 23:39:37 +0000
(23:39 +0000)
committer
Ryan Hallisey
<rhallise@redhat.com>
Wed, 30 Mar 2016 15:29:18 +0000
(15:29 +0000)
In order to use cinder, we need to be able to use
/dev/pts/ptmx. Centos sets this to 000 when on Fedora
it's 666.
Change-Id: I76dc5adc64d2da0d27204ea31175244bc1b94428
docker/firstboot/start_docker_agents.sh
patch
|
blob
|
history
diff --git
a/docker/firstboot/start_docker_agents.sh
b/docker/firstboot/start_docker_agents.sh
index
bb458a6
..
950466d
100644
(file)
--- a/
docker/firstboot/start_docker_agents.sh
+++ b/
docker/firstboot/start_docker_agents.sh
@@
-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