mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-08-22 13:37:18 +00:00
a102bba258
update users.yaml example
24 lines
760 B
YAML
24 lines
760 B
YAML
#cloud-config
|
|
users:
|
|
- name: foobar
|
|
gecos: Foo B. Bar
|
|
homedir: /home/foobar
|
|
primary-group: foobar
|
|
groups: users
|
|
selinux-user: staff_u
|
|
lock-passwd: false
|
|
ssh-import-id: foobar
|
|
inactive: true
|
|
passwd: $6$j212wezy$7H/1LT4f9/N3wpgNunhsIqtMj62OKiS3nyNwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/
|
|
no-create-home: true
|
|
no-user-group: true
|
|
no-log-init: true
|
|
expiredate: 2015-12-31
|
|
ssh-authorized-keys:
|
|
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmHRP+1o+vBSg+ej714Y3iO5Osbr29dHL/WZQlsj
|
|
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9GNA2I6IU+II1qoKP1Ttn/eNv8zquEDNii+EA5m
|
|
sudo:
|
|
- [ "ALL=(ALL) NOPASSWD:ALL", "ALL=(ALL) NOPASSWD:/bin/mysql" ]
|
|
- ALL=(ALL) NOPASSWD:ALL
|
|
system: true
|