/[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

Annotation of /recepies/lxc/create-bridge.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (hide annotations)
Thu May 14 09:47:23 2009 UTC (11 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 dpavlin 67 #!/bin/sh -x
2 dpavlin 58
3 dpavlin 67 brctl addbr br0
4     brctl setfd br0 0
5 dpavlin 58
6 dpavlin 67 ifconfig br0 172.20.0.1 netmask 255.255.255.0
7 dpavlin 61
8 dpavlin 67 brctl addif br0 eth0
9 dpavlin 61
10 dpavlin 67 brctl show br0
11     ifconfig br0
12 dpavlin 61

  ViewVC Help
Powered by ViewVC 1.1.26