1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 04:37:02 +00:00
Files
os/framework/files/system/oem/05_rancheros-installer.yaml
2021-10-02 22:27:31 -07:00

24 lines
651 B
YAML

name: "RancherOS Installer"
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