From 1c5727dd7b22c9a4f94788b6f413beb5fbe3d3a0 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sat, 8 Jun 2013 02:41:43 -0300 Subject: [PATCH] Remove dead code from debian finalize script --- boxes/debian/finalize | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/boxes/debian/finalize b/boxes/debian/finalize index 329f086..67681d4 100755 --- a/boxes/debian/finalize +++ b/boxes/debian/finalize @@ -132,25 +132,6 @@ disable_tmp_cleanup() { chroot $rootfs /usr/sbin/update-rc.d -f mountnfs-bootclean.sh remove } -usage() -{ - cat <] [ -S | --auth-key ] -release: the debian release (e.g. wheezy): defaults to host release on debian, otherwise uses latest stable -arch: the container architecture (e.g. amd64): defaults to host arch -auth-key: SSH Public key file to inject into container -EOF - return 0 -} - -options=$(getopt -o a:b:hp:r:xn:Fd:C -l arch:,help,path:,release:,name:,flush-cache,auth-key:,debug:,tarball: -- "$@") -if [ $? -ne 0 ]; then - usage $(basename $0) - exit 1 -fi -eval set -- "$options" - release=wheezy # Default to the last Debian stable release arch=$(uname -m)