Set cache parameters like we do in production

Change-Id: I8237b04e62eae9b492d85f4ebadbd3abca0d1870
Depends-On: I66566f7a84d50b562f1303ed0e645cb41b11367e
This commit is contained in:
James E. Blair 2016-03-30 18:22:40 -07:00
parent df45798508
commit cfd5b0c03d

View File

@ -231,6 +231,15 @@ diskimages:
EOF
sudo mv /tmp/nodepool.yaml $NODEPOOL_CONFIG
cp /etc/openstack/clouds.yaml /tmp
cat >>/tmp/clouds.yaml <<EOF
cache:
expiration:
server: 5
port: 5
EOF
sudo mv /tmp/clouds.yaml /etc/openstack/clouds.yaml
mkdir -p $HOME/.cache/openstack/
}
# Initialize database