

– Add this line end at the end of line starting with “kernel”ĥ. – Comment out these 2 lines by putting # at the beginning of the line: #splashimage=(hd0,0)/grub/ sed -i `s/BOOTUP=color/BOOTUP=serial/g` /etc/sysconfig/initį) Edit /etc/nf to redirect console output to the serial port – /dev/ttyS0

Use the command below or edit /etc/sysconfig/init manually. Substitute BOOTUP=color with BOOTUP=serial. We want to redirect console output to serial port and allow autologin on both tty0 and ttyS0.Ī) Add line to /etc/inittab S0:12345:respawn:/sbin/agetty ttyS0 9600 vt100ī) Modify in /etc/init/tty.conf exec /sbin/mingetty –autologin root $TTYĬ) Modify line “exec /sbin/agetty /dev/$DEV $SPEED vt100-nav” in /etc/init/nf exec /sbin/mingetty –autologin root /dev/$DEV $SPEED vt100-navĭ) Allow root login on serial port echo "ttyS0" > /etc/securettyĮ) Edit /etc/sysconfig/init and prevent graphical startup to blow up a terminal Console support and autologin configuration on tty0 and ttyS0 qemu-kvm -no-acpi -boot c -hda -m 1G dhclient eth0Ĥ. I am not going to describe all the necessary steps required for CentOS installation.Ĭonfigure following settings during installation:Īfter installation, shutdown CentOS and update it using yum. Start Qemu image with attached CentOS minimal CD. Download CentOS 6.0 minimal install CD wget Create Qemu image /usr/local/bin/qemu-img create -f qcow2. The script is started using tap mode when Qemu interfaces are bridged with virtual tap interfaces.ġ.

The script forwards frames between a IOU instance and a Qemu network adapters. The IOU (IOS on UNIX) instances are attached to the network using script written by Jeremy L. The Qemu image with installed CentOS Linux is loaded with IOU image. The tutorial describes steps required for creating Cisco switch based on IOUl2.
