incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [32/50] [abbrv] git commit: Change interfaces as per devcloud2
Date Wed, 19 Dec 2012 22:04:28 GMT
Change interfaces as per devcloud2

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7902a698
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7902a698
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7902a698

Branch: refs/heads/ui-plugins
Commit: 7902a6987247d708e92f98f37d0d17658d774499
Parents: f55c230
Author: James Martin <jmartin@basho.com>
Authored: Thu Dec 6 16:56:35 2012 -0500
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Fri Dec 14 19:36:38 2012 -0800

----------------------------------------------------------------------
 .../modules/devcloudinitial/files/interfaces       |   28 ++++++++++----
 1 files changed, 20 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7902a698/tools/devcloud/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/interfaces
----------------------------------------------------------------------
diff --git a/tools/devcloud/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/interfaces
b/tools/devcloud/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/interfaces
index 20eaa3b..72cb8f0 100644
--- a/tools/devcloud/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/interfaces
+++ b/tools/devcloud/deps/boxes/xenbox-build/puppet/modules/devcloudinitial/files/interfaces
@@ -14,19 +14,31 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-
-# The loopback network interface
 auto lo
 iface lo inet loopback
 
-# The primary network interface
+auto eth0
+iface eth0 inet manual
+
+allow-hotplug eth1
+iface eth1 inet manual
+
 auto xenbr0
-iface xenbr0 inet dhcp
-    gateway 10.0.2.2
-    bridge_ports eth0
+iface xenbr0 inet static
+        bridge_ports eth0
+        address 192.168.56.10
+        netmask 255.255.255.0
+        network 192.168.56.0
+        broadcast 192.168.56.255
+        gateway 192.168.56.1
+        dns_nameservers 8.8.8.8 8.8.4.4
+        post-up route del default gw 192.168.56.1; route add default gw 192.168.56.1 metric
100;
 
+auto xenbr1
+iface xenbr1 inet dhcp
+        bridge_ports eth1
+        dns_nameservers 8.8.8.8 8.8.4.4
+        post-up route add default gw 10.0.2.2
 
-auto eth0
-iface eth0 inet dhcp
 pre-up iptables-save < /etc/iptables.save
 pre-up /etc/init.d/ebtables load


Mime
View raw message