Parent Directory | Revision Log
read data from filesystem files and symlinks in conf/
1 | #!/bin/sh -x |
2 | |
3 | if ! grep tap0 /etc/network/interfaces ; then |
4 | |
5 | sudo apt-get install vde2 |
6 | |
7 | cat >> /etc/network/interfaces << __add_tap0__ |
8 | |
9 | iface tap0 inet static |
10 | address 172.16.10.1 |
11 | netmask 255.255.255.0 |
12 | vde2-switch - |
13 | |
14 | __add_tap0__ |
15 | |
16 | sudo ifup tap0 |
17 | |
18 | fi |
19 | |
20 | ln -sf conf/172.16.10.1 > conf/server.ip |
21 | |
22 | vdeq kvm -m 512 -net nic,vlan=1,macaddr=52:54:00:12:01:00 \ |
23 | -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl \ |
24 | -boot n |
25 | |
26 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |