MicroOS plus ext partition and user creation
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
variant: fcos
|
||||
version: 1.4.0
|
||||
passwd:
|
||||
users:
|
||||
- name: {{ vm_user }}
|
||||
password_hash: "{{ vm_password | password_hash('sha512') }}"
|
||||
ssh_authorized_keys:
|
||||
- "{{ lookup('file', vm_ssh_public_key) | trim }}"
|
||||
storage:
|
||||
files:
|
||||
- path: /etc/ssh/sshd_config.d/permit_root_login.conf
|
||||
mode: 0644
|
||||
contents:
|
||||
inline: PermitRootLogin yes
|
||||
Reference in New Issue
Block a user