From 9cc5d4d73699c259828a12bbd2ecc758a1924264 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 2 Feb 2021 17:50:42 +0100 Subject: [PATCH] Do not use exec for cinc-solo. Run with sudo --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index e0f74cf..b1a07fd 100755 --- a/configure +++ b/configure @@ -68,5 +68,4 @@ save_configuration freshen_chef_repo cd chef_repo -wd="$(pwd)" -exec cinc-solo -c "${wd}/.chef/solo.rb" -E "$CHEF_ENVIRONMENT" -j "${wd}/${CHEF_SOLO_FILE}" +sudo cinc-solo -c "${PWD}/.chef/solo.rb" -E "$CHEF_ENVIRONMENT" -j "${PWD}/${CHEF_SOLO_FILE}"