Pass cleanup scripts arguments to docker

This allows to maintain the default behavior unchanged while making it
possible to force clean.

Follow-up to https://review.openstack.org/#/c/145921/

Change-Id: Ie5733b22bda9cdd7d08f5c5ecc5a3d94b984a125
This commit is contained in:
Martin André 2015-01-14 11:42:48 +09:00
parent 9723a796d3
commit 6772962c72
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker rm -f $(docker ps -a -q) docker rm $@ $(docker ps -a -q)

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker rmi -f $(docker images -a -q) docker rmi $@ $(docker images -a -q)