2021-10-02 22:27:31 -07:00
|
|
|
name: "RancherOS Installer"
|
2021-08-31 11:14:03 -07:00
|
|
|
stages:
|
|
|
|
initramfs:
|
|
|
|
- if: '[ -f /run/cos/live_mode ]'
|
|
|
|
files:
|
|
|
|
- path: /etc/motd
|
|
|
|
content: |
|
|
|
|
|
|
|
|
Run "ros-installer" to install to disk
|
|
|
|
|
|
|
|
permissions: 0644
|
|
|
|
- path: /etc/systemd/system/serial-getty@ttyS0.service.d/override.conf
|
|
|
|
content: |
|
|
|
|
[Service]
|
|
|
|
ExecStart=
|
|
|
|
ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM
|
|
|
|
permissions: 0644
|
|
|
|
- path: /etc/systemd/system/getty@tty1.service.d/override.conf
|
|
|
|
content: |
|
|
|
|
[Service]
|
|
|
|
ExecStart=
|
|
|
|
ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM
|
|
|
|
permissions: 0644
|