Line 0
Link Here
|
|
|
1 |
--- google_compute_engine/metadata_scripts/script_executor.py.orig 2018-02-22 19:44:17 UTC |
2 |
+++ google_compute_engine/metadata_scripts/script_executor.py |
3 |
@@ -53,7 +53,7 @@ class ScriptExecutor(object): |
4 |
""" |
5 |
process = subprocess.Popen( |
6 |
metadata_script, shell=True, |
7 |
- executable=constants.LOCALBASE + '/bin/bash', |
8 |
+ executable='/bin/sh', |
9 |
stderr=subprocess.STDOUT, stdout=subprocess.PIPE) |
10 |
while True: |
11 |
for line in iter(process.stdout.readline, b''): |