Skip to content

Commit

Permalink
add sudo for ifconfig
Browse files Browse the repository at this point in the history
Change-Id: Ic42f619b9b28b1220a4ab22d85476ebdbfe95aaa
Signed-off-by: Stuart <[email protected]>
  • Loading branch information
Stuart authored and Stuart committed Oct 17, 2017
1 parent 34b950c commit 5bf82ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/inittestenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ do
mkdir -p /tmp/$i/garbage
done

ifconfig ens32:1 10.29.1.1/16
ifconfig ens32:2 10.29.1.2/16
ifconfig ens32:3 10.29.1.3/16
ifconfig ens32:4 10.29.1.4/16
ifconfig ens32:5 10.29.1.5/16
ifconfig ens32:6 10.29.1.6/16
ifconfig ens32:7 10.29.2.1/16
ifconfig ens32:8 10.29.2.2/16
sudo ifconfig ens32:1 10.29.1.1/16
sudo ifconfig ens32:2 10.29.1.2/16
sudo ifconfig ens32:3 10.29.1.3/16
sudo ifconfig ens32:4 10.29.1.4/16
sudo ifconfig ens32:5 10.29.1.5/16
sudo ifconfig ens32:6 10.29.1.6/16
sudo ifconfig ens32:7 10.29.2.1/16
sudo ifconfig ens32:8 10.29.2.2/16

0 comments on commit 5bf82ce

Please sign in to comment.