From 7b957d8fc63be718d9bf2072883bf454a2ef736d Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Tue, 28 Jul 2015 18:58:25 +0500 Subject: [PATCH] scripts/run: minor cleanup --- scripts/run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/run b/scripts/run index 175d268f..c9194343 100755 --- a/scripts/run +++ b/scripts/run @@ -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