Commit 64e6132ac015196f5157a469a95221f309ad3a02
1 parent
0bdad544
Correction create container
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
create_container.sh
@@ -119,12 +119,10 @@ ARRAY_BRIDGES=() | @@ -119,12 +119,10 @@ ARRAY_BRIDGES=() | ||
119 | ARRAY_IPV4=() | 119 | ARRAY_IPV4=() |
120 | 120 | ||
121 | for b in $BRIDGES; do | 121 | for b in $BRIDGES; do |
122 | - echo "Un bridge: $b" | ||
123 | ARRAY_BRIDGES+=($b) | 122 | ARRAY_BRIDGES+=($b) |
124 | done | 123 | done |
125 | 124 | ||
126 | for a in $ADDRS_IPV4; do | 125 | for a in $ADDRS_IPV4; do |
127 | - echo "Une addr: $a" | ||
128 | ARRAY_IPV4+=($a) | 126 | ARRAY_IPV4+=($a) |
129 | done | 127 | done |
130 | 128 | ||
@@ -138,7 +136,6 @@ done | @@ -138,7 +136,6 @@ done | ||
138 | 136 | ||
139 | for (( i=0 ; i < ${#ARRAY_BRIDGES[*]} ; i++ )); do | 137 | for (( i=0 ; i < ${#ARRAY_BRIDGES[*]} ; i++ )); do |
140 | #Pour chaque interface, on la relie à son bridge associé | 138 | #Pour chaque interface, on la relie à son bridge associé |
141 | - echo "Nom bridge :${ARRAY_BRIDGES[i]}" | ||
142 | ip link set ${ARRAY_INTERFACES[i]} master ${ARRAY_BRIDGES[i]} | 139 | ip link set ${ARRAY_INTERFACES[i]} master ${ARRAY_BRIDGES[i]} |
143 | done | 140 | done |
144 | 141 |