summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorSakirnth Nagarasa <sakirnth@gmail.com>2021-09-01 11:24:17 +0000
committerSakirnth Nagarasa <sakirnth@gmail.com>2021-09-01 11:24:17 +0000
commitb04c8adf50e570c0476b32e5dc89cf61c19876fb (patch)
treeeedc60cd3be644ec9adf6806671c2f91698187c7 /share
parentCorrecting qemu help output. (diff)
downloadcompute-tools-b04c8adf50e570c0476b32e5dc89cf61c19876fb.tar.xz
compute-tools-b04c8adf50e570c0476b32e5dc89cf61c19876fb.zip
Handling arguemnt id for qemu script.
Signed-off-by: Sakirnth Nagarasa <sakirnth@gmail.com>
Diffstat (limited to 'share')
-rwxr-xr-xshare/build-scripts/qemu9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/build-scripts/qemu b/share/build-scripts/qemu
index 4a0540d..4104d1c 100755
--- a/share/build-scripts/qemu
+++ b/share/build-scripts/qemu
@@ -33,8 +33,8 @@ export SCRIPT
Parameters ()
{
- GETOPT_LONGOPTIONS="bind:,bind-ro:,script:,name:,preseed-file:,boot-method:,"
- GETOPT_OPTIONS="b:,s:,n:,p:"
+ GETOPT_LONGOPTIONS="id:,bind:,bind-ro:,script:,name:,preseed-file:,boot-method:,"
+ GETOPT_OPTIONS="i:,b:,s:,n:,p:"
PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- "${@}")"
@@ -49,6 +49,11 @@ Parameters ()
while true
do
case "${1}" in
+ -i|--id)
+ # ignore
+ shift 2
+ ;;
+
-b|--bind)
# ignore
shift 2