jumphost config
This commit is contained in:
parent
64acfb539a
commit
812353637d
2 changed files with 3 additions and 2 deletions
4
addhost
4
addhost
|
@ -50,8 +50,8 @@ if [ ! -d $cmd_hostname ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$cmd_do_bootstrap" = "yes" ]; then
|
if [ "$cmd_do_bootstrap" = "yes" ]; then
|
||||||
scp apt/cosmos_1.5-1_all.deb apt/bootstrap-cosmos.sh root@$cmd_hostname:
|
scp ${addhost_ssh_args} apt/cosmos_1.5-1_all.deb apt/bootstrap-cosmos.sh root@$cmd_hostname:
|
||||||
ssh root@$cmd_hostname ./bootstrap-cosmos.sh $cmd_fqdn $rrepo $rtag
|
ssh ${addhost_ssh_args} root@$cmd_hostname ./bootstrap-cosmos.sh $cmd_fqdn $rrepo $rtag
|
||||||
ssh root@$cmd_hostname cosmos update
|
ssh root@$cmd_hostname cosmos update
|
||||||
ssh root@$cmd_hostname cosmos apply
|
ssh root@$cmd_hostname cosmos apply
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
tag="eid-ops"
|
tag="eid-ops"
|
||||||
|
addhost_ssh_args="-o ProxyCommand 'ssh root@jmp.komreg.net -W %h:%p'"
|
||||||
|
|
Loading…
Add table
Reference in a new issue