Unverified Commit 09f55bc4 by Rachid Koucha Committed by Christian Brauner

Option --busybox-path instead of --bbpath

As suggested during the review. Signed-off-by: 's avatarRachid Koucha <rachid.koucha@gmail.com>
parent cd2ca8a1
...@@ -279,13 +279,13 @@ LXC internal arguments: ...@@ -279,13 +279,13 @@ LXC internal arguments:
BUSYBOX template specific arguments: BUSYBOX template specific arguments:
[ --bbpath <path> ]: busybox pathname (default: ${BUSYBOX_EXE}) [ --busybox-path <path> ]: busybox pathname (default: ${BUSYBOX_EXE})
EOF EOF
return 0 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 usage
exit 1 exit 1
fi fi
...@@ -300,7 +300,7 @@ do ...@@ -300,7 +300,7 @@ do
--rootfs) rootfs=$2; shift 2;; --rootfs) rootfs=$2; shift 2;;
--mapped-uid) LXC_MAPPED_UID=$2; shift 2;; --mapped-uid) LXC_MAPPED_UID=$2; shift 2;;
--mapped-gid) LXC_MAPPED_GID=$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 ;; --) shift 1; break ;;
*) break ;; *) break ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment