Create etcd user in cloud init.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
65830369b6
commit
3a7fef51fc
@ -1,5 +1,11 @@
|
|||||||
#cloud-config
|
#cloud-config
|
||||||
|
|
||||||
|
users:
|
||||||
|
- name: etcd
|
||||||
|
homedir: /var/etcd
|
||||||
|
lock_passwd: true
|
||||||
|
ssh_redirect_user: true
|
||||||
|
|
||||||
write_files:
|
write_files:
|
||||||
# Setup containerd.
|
# Setup containerd.
|
||||||
- path: /etc/systemd/system/containerd-installation.service
|
- path: /etc/systemd/system/containerd-installation.service
|
||||||
|
Loading…
Reference in New Issue
Block a user