mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-11 04:42:21 +00:00
Dont break inittab completely (#496)
This commit is contained in:
parent
eedc37677d
commit
eb02e2ed7e
@ -1,4 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
- name: "kairos-overlay-files"
|
- name: "kairos-overlay-files"
|
||||||
category: "static"
|
category: "static"
|
||||||
version: "1.1.3"
|
version: "1.1.4"
|
||||||
|
@ -28,8 +28,8 @@ stages:
|
|||||||
content: |
|
content: |
|
||||||
You are booting from livecd mode. Run 'kairos-agent install' to install the system.
|
You are booting from livecd mode. Run 'kairos-agent install' to install the system.
|
||||||
permissions: 0644
|
permissions: 0644
|
||||||
- path: /etc/inittab
|
commands:
|
||||||
content: |
|
- sed -i -e 's/tty1.*//g' /etc/inittab
|
||||||
tty1::respawn:/sbin/agetty --autologin root -i --noclear tty1
|
- sed -i -e 's/ttyS0.*//g' /etc/inittab
|
||||||
ttyS0::respawn:/sbin/agetty --autologin root -i --noclear ttyS0
|
- echo "tty1::respawn:/sbin/agetty --autologin root -i --noclear tty1" >> /etc/inittab
|
||||||
permissions: 0644
|
- echo "ttyS0::respawn:/sbin/agetty --autologin root -i --noclear ttyS0" >> /etc/inittab
|
Loading…
Reference in New Issue
Block a user