From 49e3eee1d209497784ac39e69d9efcc334003007 Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Fri, 14 Jun 2019 18:51:31 -0300
Subject: [PATCH] Instalar solamente paquetes si no estan. runasownerof ahora
 hace "cd" tambien.

---
 bin/installbfa.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/installbfa.sh b/bin/installbfa.sh
index 4f27263..1f193a9 100755
--- a/bin/installbfa.sh
+++ b/bin/installbfa.sh
@@ -173,6 +173,8 @@ function usersetup
     then
         info "Adding required user \"bfa\""
         adduser --disabled-password --gecos 'Blockchain Federal Argentina' bfa
+        info "Adding user \"bfa\" to group \"sudo\""
+        adduser bfa sudo
     fi
     # If we're running inside a docker, this may already exist but
     # probably owned by root. Let's make sure things are proper.
-- 
GitLab