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