From ec8a7d9b69278178a056f1a05957fd76e4002711 Mon Sep 17 00:00:00 2001 From: Garth Bushell Date: Fri, 5 Jan 2018 11:40:11 +0000 Subject: [PATCH] Make sure etcd is started Signed-off-by: Garth Bushell --- instances/etcd/cloud_init/bootstrap.template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/instances/etcd/cloud_init/bootstrap.template.sh b/instances/etcd/cloud_init/bootstrap.template.sh index fa4d059..495fa16 100644 --- a/instances/etcd/cloud_init/bootstrap.template.sh +++ b/instances/etcd/cloud_init/bootstrap.template.sh @@ -60,6 +60,7 @@ if [ -n "$${iqn}" ]; then fi docker run -d \ + --restart=always \ -p 2380:2380 -p 2379:2379 \ -v /etc/ssl/certs/ca-bundle.crt:/etc/ssl/certs/ca-bundle.crt \ -v /etcd:/$HOSTNAME.etcd \