Skip to content

Instantly share code, notes, and snippets.

@sunnyone
Created June 26, 2011 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunnyone/1047564 to your computer and use it in GitHub Desktop.
Save sunnyone/1047564 to your computer and use it in GitHub Desktop.
virt-install command for Debian with serial console
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'
@lucrus73
Copy link

console=ttyS0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment