Merge pull request #51495 from dingxiangfei2009/use-interactive-bash-for-gce

Use Interactive bash for GCE
This commit is contained in:
Jörg Thalheim 2018-12-05 09:58:43 +00:00 committed by GitHub
commit caaaaa7fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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