From d7672bf9073d9a795a6325c05cf4f76d0bb0cbbc Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 9 Jan 2019 15:56:28 -0800 Subject: [PATCH] Install git explicitly during bootstrap Some servers don't have git on by default --- bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 2424ae6..3a42fb2 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -67,7 +67,7 @@ def main(): logger.info('Setting up hub environment') initial_setup = True subprocess.check_output(['apt-get', 'update', '--yes'], stderr=subprocess.STDOUT) - subprocess.check_output(['apt-get', 'install', '--yes', 'python3', 'python3-venv'], stderr=subprocess.STDOUT) + subprocess.check_output(['apt-get', 'install', '--yes', 'python3', 'python3-venv', 'git'], stderr=subprocess.STDOUT) logger.info('Installed python & virtual environment') os.makedirs(hub_prefix, exist_ok=True) subprocess.check_output(['python3', '-m', 'venv', hub_prefix], stderr=subprocess.STDOUT)