mirror of
https://github.com/rancher/os.git
synced 2025-09-16 15:09:27 +00:00
./scripts/run: support OS X
This commit is contained in:
@@ -26,7 +26,7 @@ while [ "$#" -gt 0 ]; do
|
||||
;;
|
||||
--cloud-config)
|
||||
shift 1
|
||||
CLOUD_CONFIG=$(readlink -f "$1") || :
|
||||
CLOUD_CONFIG=$(path "$1") || :
|
||||
if [ ! -f ${CLOUD_CONFIG} ]; then
|
||||
echo No such file: "'"${CLOUD_CONFIG}"'" 1>&2
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user