chore(tools): rename striker-start-ssh-tunnel->striker-open-ssh-tunnel

main
Tsu-ba-me 3 years ago
parent 23d818cfff
commit d5724c1457
  1. 2
      Anvil/Tools.pm
  2. 4
      cgi-bin/manage_vnc_pipes
  3. 0
      tools/striker-open-ssh-tunnel

@ -1221,10 +1221,10 @@ sub _set_paths
'striker-initialize-host' => "/usr/sbin/striker-initialize-host",
'striker-manage-install-target' => "/usr/sbin/striker-manage-install-target",
'striker-manage-peers' => "/usr/sbin/striker-manage-peers",
'striker-open-ssh-tunnel' => "/usr/sbin/striker-open-ssh-tunnel",
'striker-parse-oui' => "/usr/sbin/striker-parse-oui",
'striker-prep-database' => "/usr/sbin/striker-prep-database",
'striker-scan-network' => "/usr/sbin/striker-scan-network",
'striker-start-ssh-tunnel' => "/usr/sbin/striker-start-ssh-tunnel",
stty => "/usr/bin/stty",
su => "/usr/bin/su",
'subscription-manager' => "/usr/sbin/subscription-manager",

@ -460,11 +460,11 @@ sub start_ssh_tunnel
}
}
my $shell_call = $anvil->data->{path}{exe}{'striker-start-ssh-tunnel'}
my $shell_call = $anvil->data->{path}{exe}{'striker-open-ssh-tunnel'}
." --remote-user admin --target ".$ws_host_name
." --forward-local-port ".$ssh_tunnel_forward_port
." --forward-remote-port ".$ws_source_port
." & echo pid:\$!";
." &>/dev/null & echo pid:\$!";
my ($shell_output, $shell_return_code) = $anvil->System->call({ shell_call => $shell_call });
$anvil->Log->variables({ source => $THIS_FILE, line => __LINE__, level => 2, list => {

Loading…
Cancel
Save