mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Fix lay-down-os shell error
the current code for lay-down-os will cause the following error when install rancheros to disk. ``` -bash: [: missing `]' ``` Signed-off-by: Wang Long <long.wanglong@huawei.com>
This commit is contained in:
@@ -21,7 +21,7 @@ do
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
done
|
||||
[ "$ARCH" == "arm" && "$ENV" != "rancher-upgrade" ] && ENV=arm
|
||||
[[ "$ARCH" == "arm" && "$ENV" != "rancher-upgrade" ]] && ENV=arm
|
||||
|
||||
DIST=${DIST:-/dist}
|
||||
CLOUD_CONFIG=${CLOUD_CONFIG:-"${SCRIPTS_DIR}/conf/empty.yml"}
|
||||
|
Reference in New Issue
Block a user