From b02b719705bfb7b8603898f5ec8bfddbba454de6 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Tue, 19 Jul 2016 19:04:00 +0200 Subject: [PATCH] Issue #45: VM startup won't report READY=YES to OneGate --- base/usr/bin/onegate | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/usr/bin/onegate b/base/usr/bin/onegate index d63dc80..da2ce35 100755 --- a/base/usr/bin/onegate +++ b/base/usr/bin/onegate @@ -6,6 +6,8 @@ if [ -f $ENV_FILE ]; then . $ENV_FILE fi +export HOME=/root + DIR=$(dirname $(readlink -f $0)) ruby $DIR/onegate.rb $*