diff options
| author | Yves-Alexis Perez <corsac@debian.org> | 2013-04-26 14:57:47 +0200 |
|---|---|---|
| committer | Yves-Alexis Perez <corsac@debian.org> | 2013-04-26 14:57:47 +0200 |
| commit | e8f63514e9b56f6a2f977a56438d59ccab45bdca (patch) | |
| tree | a0b54b11d647db27fa018214d2bf675dd350d466 /testing/start-testing | |
| parent | 196d9f518fd657d6560bfe3b05885d47ccd6bbd5 (diff) | |
| parent | 10e5fb2b9b2f27c83b3e5a1d048b158d5cf42a43 (diff) | |
| download | vyos-strongswan-e8f63514e9b56f6a2f977a56438d59ccab45bdca.tar.gz vyos-strongswan-e8f63514e9b56f6a2f977a56438d59ccab45bdca.zip | |
Merge tag 'upstream/5.0.3'
Upstream version 5.0.3
Diffstat (limited to 'testing/start-testing')
| -rwxr-xr-x | testing/start-testing | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/start-testing b/testing/start-testing index 183729423..45cf4c9b9 100755 --- a/testing/start-testing +++ b/testing/start-testing @@ -9,13 +9,13 @@ CONFDIR=$DIR/config/kvm KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage KNLTARGET=/var/run/kvm-swan-kernel HOSTFSTARGET=/var/run/kvm-swan-hostfs -MCASTBRS="virbr1 virbr2" +MCASTBRS="test-br0 test-br1" echo "Starting test environment" [ `id -u` -eq 0 ] || die "You must be root to run $0" -check_commands virsh +check_commands kvm virsh log_action "Deploying kernel $KERNEL" execute "ln -fs $KNLSRC $KNLTARGET" @@ -41,8 +41,11 @@ done for br in $MCASTBRS do cd /sys/devices/virtual/net/$br/brif - for vnet in `find . -name "vnet*"` + for vnet in `find . -name "*eth?"` do echo 2 > $vnet/multicast_router done done + +echo 0x08 > /sys/devices/virtual/net/test-br0/bridge/group_fwd_mask + |
