Add missing 1 on grep
Change-Id: I3b40d1a9a96ec0e919050adafc85cc3a37979be9
This commit is contained in:
parent
01ca79e8bf
commit
333f3f2610
@ -30,7 +30,7 @@ HOST_ID=$(midonet-cli -A -e host list | grep ${HOSTNAME} | awk '{ print $2 }')
|
||||
BINDING=$(midonet-cli -A -e host ${HOST_ID} list binding interface veth1)
|
||||
|
||||
# Create veth pair
|
||||
if [ -z "$(ip l | /bin/grep -e veth0 -e veth)" ]; then
|
||||
if [ -z "$(ip l | /bin/grep -e veth0 -e veth1)" ]; then
|
||||
ip link add type veth
|
||||
echo "Succesfully created veth pair"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user