From 9b7517079c797c62212762c0c236d4329f453c12 Mon Sep 17 00:00:00 2001 From: Gustavo Serra Scalet Date: Mon, 16 Jul 2018 22:35:42 -0300 Subject: [PATCH] Fix google-compute-engine default shell to sh instead of bash To use FreeBSD in the Google Cloud Engine, you need the agent provided by the package py27-google-compute-engine installed. That package has wrongly set the default shell as bash and the minimum image of FreeBSD doesn't have it installed so python commands fail when executing subprocess.Popen calls as it requests a shell that doesn't exist. --- .../files/instance_configs.cfg.distro.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample b/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample index cd1519c9b..08d29c76b 100644 --- a/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample +++ b/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample @@ -5,4 +5,4 @@ usermod_cmd = pw usermod {user} -G {groups} groupadd_cmd = pw groupadd {group} [MetadataScripts] -default_shell = /bin/bash +default_shell = /bin/sh -- 2.17.1