$OpenBSD: patch-google_compute_engine_metadata_scripts_script_executor_py,v 1.1.1.1 2017/06/29 14:35:10 ajacoutot Exp $

Index: google_compute_engine/metadata_scripts/script_executor.py
--- google_compute_engine/metadata_scripts/script_executor.py.orig
+++ google_compute_engine/metadata_scripts/script_executor.py
@@ -50,7 +50,7 @@ class ScriptExecutor(object):
       metadata_script: string, the file location of an executable script.
     """
     process = subprocess.Popen(
-        metadata_script, shell=True, executable='/bin/bash',
+        metadata_script, shell=True, executable='/bin/ksh',
         stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
     while True:
       for line in iter(process.stdout.readline, b''):
