/[sysadmin-cookbook]/recepies/lxc/kvm/02-network/02-kvm-two-ethernets.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/lxc/kvm/02-network/02-kvm-two-ethernets.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 259 - (show annotations)
Sat May 14 20:03:06 2011 UTC (12 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 269 byte(s)
start kvm with two ethernets
1 #!/bin/sh -x
2
3 kvm -m 1024 -kernel ../01-setup/linux-2.6.*/arch/x86/boot/bzImage -no-reboot \
4 -hda ../01-setup/squeeze.ext3 -append "root=/dev/hda rw panic=1" \
5 -net nic,model=e1000 -net user -redir tcp:9876::22 \
6 -net nic,model=e1000 -net tap,ifname=kvm0,script=no
7

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26