From ccda537604f92d580d0c467d83817f0f0f207667 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Mon, 6 Apr 2020 15:27:34 -0700 Subject: [PATCH] Create etcd user in cloud init. Signed-off-by: Lantao Liu --- contrib/gce/cloud-init/master.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/gce/cloud-init/master.yaml b/contrib/gce/cloud-init/master.yaml index 5fdf1dc7c..35c869c5b 100644 --- a/contrib/gce/cloud-init/master.yaml +++ b/contrib/gce/cloud-init/master.yaml @@ -1,5 +1,11 @@ #cloud-config +users: +- name: etcd + homedir: /var/etcd + lock_passwd: true + ssh_redirect_user: true + write_files: # Setup containerd. - path: /etc/systemd/system/containerd-installation.service