/[sysadmin-cookbook]/recepies/lxc/create-bridge.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/create-bridge.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (show annotations)
Thu May 14 09:47:23 2009 UTC (10 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 147 byte(s)
moved bridge creation recepie to shell script

1 #!/bin/sh -x
2
3 brctl addbr br0
4 brctl setfd br0 0
5
6 ifconfig br0 172.20.0.1 netmask 255.255.255.0
7
8 brctl addif br0 eth0
9
10 brctl show br0
11 ifconfig br0
12

  ViewVC Help
Powered by ViewVC 1.1.26