Skip to content

Instantly share code, notes, and snippets.

@bh7cw
Created July 20, 2020 21:11
Show Gist options
  • Save bh7cw/2ac24db03afe8d750cd1b066da9d6e3d to your computer and use it in GitHub Desktop.
Save bh7cw/2ac24db03afe8d750cd1b066da9d6e3d to your computer and use it in GitHub Desktop.
{
"ignition": {
"version": "3.1.0"
},
"passwd": {
"users": [
{
"name": "core",
"sshAuthorizedKeys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCRvfOoVVuVw0+Pjv2wMYhr0h2J9LAc2ptz9ghsZXe1beTgYeJrH3ZezEdXLxZsAmgZAgwlf191K74idSJbM+8HhJAFPf5rQcB2EZzwXtwANCMGVnezavtJJlwZsr8+l9Y2xfKQ9bBwuoAQ6Rsp6Llav+QblI2rxYeNOv/4+jNcziwWjDWtsGNor/pcV6lIy6XCRzdgu8Mk9a1Z7itwH/WyNJE2mqEIljch4H5AjZbMA++9jb5jwYjg1RN5Tlmt+/GWgDn5TvQZKMtTt9mlkeE972E8vym9o1R8IQGoixKGuBmDuNEPUZ+b+wSc8+iZU8MIi3pNt6KNm25lJab9iuAB"
]
}
]
},
"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"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment