mirror of
https://github.com/ovh/the-bastion.git
synced 2025-12-16 05:18:59 +08:00
Merge branch 'master' into master
This commit is contained in:
commit
811b2f9c15
2 changed files with 2 additions and 2 deletions
|
|
@ -68,6 +68,6 @@ OVH::Bastion::syslogFormatted(
|
||||||
|
|
||||||
osh_warn("ADMIN SUDO: $self, you'll now impersonate $sudoAs, this has been logged.");
|
osh_warn("ADMIN SUDO: $self, you'll now impersonate $sudoAs, this has been logged.");
|
||||||
|
|
||||||
$fnret = OVH::Bastion::execute(cmd => \@cmd, noisy_stdout => 1, noisy_stderr => 1);
|
$fnret = OVH::Bastion::execute(cmd => \@cmd, noisy_stdout => 1, noisy_stderr => 1, expects_stdin => 1);
|
||||||
|
|
||||||
osh_exit $fnret;
|
osh_exit $fnret;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "--sandbox" ]; then
|
if [ "$1" = "--sandbox" ]; then
|
||||||
"The Bastion sandbox container is running, you can now connect to its port 22 (probably remapped to another port on the host)"
|
echo "The Bastion sandbox container is running, you can now connect to its port 22 (probably remapped to another port on the host)"
|
||||||
fi
|
fi
|
||||||
while : ; do
|
while : ; do
|
||||||
sleep 3600
|
sleep 3600
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue