From 43789803fb44b4b686a2cf19b586717a418c5e14 Mon Sep 17 00:00:00 2001 From: skylerto Date: Wed, 5 Sep 2018 09:18:29 -0400 Subject: [PATCH] updates to support non kitchen vms Signed-off-by: skylerto --- lib/kitchen/provisioner/habitat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kitchen/provisioner/habitat.rb b/lib/kitchen/provisioner/habitat.rb index 378fd9d..eefb4e3 100644 --- a/lib/kitchen/provisioner/habitat.rb +++ b/lib/kitchen/provisioner/habitat.rb @@ -164,7 +164,7 @@ def sup_run_script COUNT=$(ps aux | grep hab | wc -l) if [[ ${COUNT} -lt 2 ]] then - sudo -E hab sup run #{supervisor_options} > /home/kitchen/nohup.out & echo $! > /tmp/run.pid + sudo -E hab sup run #{supervisor_options} > ~/nohup.out & echo $! > /tmp/run.pid fi done END