Commit 1829d20f authored by Thomas Holterbach's avatar Thomas Holterbach
Browse files

fix docker issue in cli.sh script`

parent bf006c66
......@@ -164,7 +164,7 @@ function configure # routers/p4switches RX
echo "Configuring \`$container\` using \`$script\`"
sudo docker cp $full_script $container:/home/
sudo docker exec -t $container chmod 755 /home/$script
sudo docker exec -t $container /home/$script || return $usererror
sudo docker exec -t $container /bin/sh /home/$script || return $usererror
else
return $ioerror
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment