Skip to content

Commit c7bd047

Browse files
Random-Liuestesp
authored andcommitted
Create etcd user in cloud init.
Signed-off-by: Lantao Liu <[email protected]>
1 parent a208e93 commit c7bd047

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

contrib/gce/cloud-init/master.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#cloud-config
22

3+
users:
4+
- name: etcd
5+
homedir: /var/etcd
6+
lock_passwd: true
7+
ssh_redirect_user: true
8+
39
write_files:
410
# Setup containerd.
511
- path: /etc/systemd/system/containerd-installation.service

0 commit comments

Comments
 (0)