summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/kvm_guest/base-files/etc/inittab
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-05 23:18:51 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-05 23:18:51 +0000
commitc9da55f8072f9615b4ea70a2823034d7d386978d (patch)
tree20c9302fee5e0aac91c349dc9023da10e2bfef38 /target/linux/x86/kvm_guest/base-files/etc/inittab
parent4c7a27bd5aa4cb24e159fdcdf72bc70bf017d6c7 (diff)
[PATCH v5 3/4] x86: add kvm_guest subtarget
Add a KVM guest subtarget to the x86 target. Since VirtIO is the preferred I/O virtualization platform for kvm, this target expects it's root device to be /dev/vda. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/kvm_guest/base-files/etc/inittab')
-rw-r--r--target/linux/x86/kvm_guest/base-files/etc/inittab5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/x86/kvm_guest/base-files/etc/inittab b/target/linux/x86/kvm_guest/base-files/etc/inittab
new file mode 100644
index 000000000..469b8a9a9
--- /dev/null
+++ b/target/linux/x86/kvm_guest/base-files/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K stop
+tts/0::askfirst:/bin/ash --login
+hvc0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login