mirror of
https://github.com/rancher/os.git
synced 2025-08-01 23:17:50 +00:00
fix lay-down-os error
option `-k` does not need an argument and `-a` need one. Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
parent
d6676857b0
commit
69cb33b26c
@ -6,7 +6,7 @@ SCRIPTS_DIR=$(dirname ${0})
|
||||
. "${SCRIPTS_DIR}/build.conf"
|
||||
VERSION=${VERSION:?"VERSION not set"}
|
||||
|
||||
while getopts "i:f:c:d:t:r:o:p:k:a" OPTION
|
||||
while getopts "i:f:c:d:t:r:o:p:ka:" OPTION
|
||||
do
|
||||
case ${OPTION} in
|
||||
i) DIST="$OPTARG" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user