projects
/
pgapt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334a459
)
netns-setup: Allow configuring number of veth devices
author
Christoph Berg
<myon@debian.org>
Wed, 27 Jan 2021 10:01:08 +0000
(11:01 +0100)
committer
Christoph Berg
<myon@debian.org>
Wed, 27 Jan 2021 10:01:08 +0000
(11:01 +0100)
jenkins/netns-setup
patch
|
blob
|
blame
|
history
diff --git
a/jenkins/netns-setup
b/jenkins/netns-setup
index aba78515857d7bddde5a34c81d0b3decb58d77c4..7913cff5c1286309824afd635c99c6970a8d3e08 100755
(executable)
--- a/
jenkins/netns-setup
+++ b/
jenkins/netns-setup
@@
-1,10
+1,11
@@
-#!/bin/
ba
sh
+#!/bin/sh
set -eu
prefix="10.1"
+count="${1:-8}"
-for net in
{1..8}
; do
+for net in
$(seq 1 $count)
; do
ns="newpid$net"
veth="veth$net"
ceth="ceth$net"