diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-01-13 16:25:14 +0100 |
---|---|---|
committer | Daniel Lezcano <dlezcano@fr.ibm.com> | 2011-01-13 16:25:14 +0100 |
commit | 0016af974df9f47a3f15a9b57e4d223451d0547c (patch) | |
tree | a60adc08d4a4476077e5a6ce400da0cb2e71e92e | |
parent | substitute the absolute rootfs mount path (diff) | |
download | lxc-0016af974df9f47a3f15a9b57e4d223451d0547c.tar.gz lxc-0016af974df9f47a3f15a9b57e4d223451d0547c.tar.bz2 lxc-0016af974df9f47a3f15a9b57e4d223451d0547c.zip |
fix busybox inittab template
The inittab file format is wrong regarding how behaves busybox with
this syntax.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r-- | templates/lxc-busybox.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index cdd14b5..62088df 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -100,8 +100,8 @@ EOF # not needed cat <<EOF >> $rootfs/etc/inittab ::sysinit:/etc/init.d/rcS -::respawn:/bin/getty -L tty1 115200 vt100 -::askfirst:/bin/sh +tty1::respawn:/bin/getty -L tty1 115200 vt100 +console::askfirst:/bin/sh EOF # writable and readable for other chmod 644 $rootfs/etc/inittab || return 1 |