summaryrefslogtreecommitdiffstats
path: root/share/create-scripts/debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'share/create-scripts/debootstrap')
-rwxr-xr-xshare/create-scripts/debootstrap29
1 files changed, 2 insertions, 27 deletions
diff --git a/share/create-scripts/debootstrap b/share/create-scripts/debootstrap
index 4c047ee..01345f9 100755
--- a/share/create-scripts/debootstrap
+++ b/share/create-scripts/debootstrap
@@ -30,8 +30,8 @@ MACHINES="/var/lib/machines"
Parameters ()
{
- GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,architecture:,distribution:,mirror:,password:"
- GETOPT_OPTIONS="b:,s:,n:,a:,d:,m:,p:"
+ GETOPT_LONGOPTIONS="name:,architecture:,distribution:,mirror:,password:"
+ GETOPT_OPTIONS="n:,a:,d:,m:,p:"
PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- ${@})"
@@ -46,31 +46,6 @@ Parameters ()
while true
do
case "${1}" in
- -b|--bind)
- # ignore
- shift 2
- ;;
-
- --bind-ro)
- # ignore
- shift 2
- ;;
-
- --cnt.auto)
- # ignore
- shift 2
- ;;
-
- --cnt.container-server)
- # ignore
- shift 2
- ;;
-
- -s|--script)
- # ignore
- shift 2
- ;;
-
-n|--name)
NAME="${2}"
shift 2