Created
September 8, 2020 19:00
-
-
Save bh7cw/6ac27653d19815304332277ff2aacdb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignition": { | |
"version": "3.1.0" | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"groups": [ | |
"sudo" | |
], | |
"name": "core", | |
"sshAuthorizedKeys": [ | |
"ssh-rsa AAAAB3NzaC1yc..." | |
] | |
}, | |
{ | |
"groups": [ | |
"sudo" | |
], | |
"name": "test", | |
"sshAuthorizedKeys": [ | |
"ssh-rsa AAAAB3NzaC1yc..." | |
] | |
} | |
] | |
}, | |
"systemd": { | |
"units": [ | |
{ | |
"dropins": [ | |
{ | |
"contents": "[Service]\n# Override Execstart in main unit\nExecStart=\n# Add new Execstart with `-` prefix to ignore failure\nExecStart=-/usr/sbin/agetty --autologin core --noclear %I $TERM\nTTYVTDisallocate=no\n", | |
"name": "autologin-core.conf" | |
} | |
], | |
"name": "serial-getty@ttyS0.service" | |
}, | |
{ | |
"enabled": true, | |
"name": "afterburn-sshkeys@test.service" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment