Merge pull request #51495 from dingxiangfei2009/use-interactive-bash-for-gce
Use Interactive bash for GCE
This commit is contained in:
commit
caaaaa7fbb
@ -2,6 +2,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
, bash
|
, bash
|
||||||
|
, bashInteractive
|
||||||
, systemd
|
, systemd
|
||||||
, utillinux
|
, utillinux
|
||||||
, boto
|
, boto
|
||||||
@ -25,7 +26,7 @@ buildPythonApplication rec {
|
|||||||
for file in $(find google_compute_engine -type f); do
|
for file in $(find google_compute_engine -type f); do
|
||||||
substituteInPlace "$file" \
|
substituteInPlace "$file" \
|
||||||
--replace /bin/systemctl "${systemd}/bin/systemctl" \
|
--replace /bin/systemctl "${systemd}/bin/systemctl" \
|
||||||
--replace /bin/bash "${bash}/bin/bash" \
|
--replace /bin/bash "${bashInteractive}/bin/bash" \
|
||||||
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
|
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
|
||||||
|
|
||||||
# SELinux tool ??? /sbin/restorecon
|
# SELinux tool ??? /sbin/restorecon
|
||||||
|
Loading…
Reference in New Issue
Block a user