mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
scripts/run: minor cleanup
This commit is contained in:
@@ -16,11 +16,11 @@ HD_GZ=${ARTIFACTS}/empty-hd.img.gz
|
||||
INITRD_TMP=${BUILD}/$(sha1sum ${INITRD} | awk '{print $1}')
|
||||
INITRD_CURRENT=${BUILD}/initrd-current
|
||||
INITRD_TEST=${BUILD}/initrd.test
|
||||
UNAME=$(uname)
|
||||
USER_DATA=cloud-init/openstack/latest/user_data
|
||||
|
||||
# PREREQ: brew install coreutils
|
||||
path() {
|
||||
local UNAME=$(uname)
|
||||
if [ "$UNAME" == "Darwin" ]; then greadlink -f "$1"
|
||||
elif [ "$UNAME" == "Linux" ]; then readlink -f "$1";
|
||||
fi
|
||||
@@ -92,8 +92,6 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
UNAME=$(uname)
|
||||
|
||||
KERNEL_ARGS="quiet rancher.password=rancher console=ttyS0 ${QEMU_APPEND}"
|
||||
|
||||
if [ "$UNAME" == "Darwin" ] && [ -x $(which xhyve) ]; then
|
||||
|
Reference in New Issue
Block a user