Created
June 26, 2011 12:10
-
-
Save sunnyone/1047564 to your computer and use it in GitHub Desktop.
virt-install command for Debian with serial console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virt-install --connect qemu:///system \ | |
--name=HOSTNAME --ram=128 --vcpus=1 \ | |
--disk path=/dev/vg0/HOSTNAME-root \ | |
--disk path=/dev/vg0/HOSTNAME-swap \ | |
--os-type linux --os-variant debianlenny \ | |
--accelerate --network network:DMZ \ | |
--nographics \ | |
--location='http://ftp.jp.debian.org/debian/dists/squeeze/main/installer-amd64/' \ | |
--extra-args='console=tty0 console=ttyS0,115200n8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
console=ttyS0