]> xenbits.xensource.com Git - xen.git/commitdiff
automation: remove dead code from containerize
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 3 Aug 2018 14:46:48 +0000 (09:46 -0500)
committerWei Liu <wei.liu2@citrix.com>
Fri, 3 Aug 2018 15:11:22 +0000 (16:11 +0100)
This is more dead code.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
automation/scripts/containerize

index 7f0eb0aff01c698ceb433f6a32d63a4093388241..7bdfc2155d9b1e4993bd08ad9e1c3e95213ac64c 100755 (executable)
@@ -23,10 +23,6 @@ case "_${CONTAINER}" in
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
 esac
 
-# get our container name and version
-containid=${CONTAINER%:*}
-containver=${CONTAINER#*:}
-
 # Save the commands for future use
 cmd=$@
 
@@ -74,7 +70,6 @@ fi
 # Kick off Docker
 einfo "*** Launching container ..."
 exec docker run \
-    ${DOCKER_ARGS} \
     ${SSH_AUTH_SOCK:+-e SSH_AUTH_SOCK="/tmp/ssh-agent/${SSH_AUTH_NAME}"} \
     -v "${CONTAINER_PATH}":/build:rw \
     -v "${HOME}/.ssh":/root/.ssh:ro \