mirror of
https://github.com/rancher/os.git
synced 2025-09-17 23:48:09 +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:
@@ -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" ;;
|
||||
|
Reference in New Issue
Block a user