]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Option --busybox-path instead of --bbpath
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Fri, 10 May 2019 19:28:35 +0000 (21:28 +0200)
committerGitHub <noreply@github.com>
Fri, 10 May 2019 19:28:35 +0000 (21:28 +0200)
As suggested during the review.

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
templates/lxc-busybox.in

index 22cf27835d4b68c42fe8e0a6b506c7f347e47a5e..0d5d9ccf136980a09a1e268b2e198977b1749a2b 100644 (file)
@@ -279,13 +279,13 @@ LXC internal arguments:
 
 BUSYBOX template specific arguments:
 
-  [ --bbpath <path> ]: busybox pathname (default: ${BUSYBOX_EXE})
+  [ --busybox-path <path> ]: busybox pathname (default: ${BUSYBOX_EXE})
 
 EOF
   return 0
 }
 
-if ! options=$(getopt -o hp:n: -l help,rootfs:,path:,name:,mapped-uid:,mapped-gid:,bbpath: -- "$@"); then
+if ! options=$(getopt -o hp:n: -l help,rootfs:,path:,name:,mapped-uid:,mapped-gid:,busybox-path: -- "$@"); then
   usage
   exit 1
 fi
@@ -300,7 +300,7 @@ do
     --rootfs)     rootfs=$2; shift 2;;
     --mapped-uid) LXC_MAPPED_UID=$2; shift 2;;
     --mapped-gid) LXC_MAPPED_GID=$2; shift 2;;
-    --bbpath) BUSYBOX_EXE=$2; shift 2;;
+    --busybox-path) BUSYBOX_EXE=$2; shift 2;;
     --)           shift 1; break ;;
     *)            break ;;
   esac