kolla-ansible/docker/etcd/extend_start.sh
Hui Kang c096825075 Add etcd container
Change-Id: Ib5a853c0048a45d9085c55804580c7ed2fd0fc07
Partially-implements: bp kuryr-docker-plugin
2016-08-24 13:04:47 -04:00

9 lines
245 B
Bash

#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
sudo chown etcd: /var/lib/etcd/
exit 0
fi