use interactive bash for gce

This commit is contained in:
Ding Xiang Fei 2018-12-04 12:38:54 +08:00
parent da511852c1
commit f4414da64a
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
, fetchFromGitHub
, buildPythonApplication
, bash
, bashInteractive
, systemd
, utillinux
, boto
@ -25,7 +26,7 @@ buildPythonApplication rec {
for file in $(find google_compute_engine -type f); do
substituteInPlace "$file" \
--replace /bin/systemctl "${systemd}/bin/systemctl" \
--replace /bin/bash "${bash}/bin/bash" \
--replace /bin/bash "${bashInteractive}/bin/bash" \
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
# SELinux tool ??? /sbin/restorecon