mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
kubernetes: try and make exec-id unique
Hopefully hostname + local pid should be unlikely to clash. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
1bdf0df8b6
commit
c227c31e75
@ -15,4 +15,4 @@ case $(uname -s) in
|
||||
ijc25/alpine-ssh"
|
||||
;;
|
||||
esac
|
||||
$ssh $sshopts -t root@"$1" ctr tasks exec --tty --exec-id ssh kubelet ash -l
|
||||
$ssh $sshopts -t root@"$1" ctr tasks exec --tty --exec-id ssh-$(hostname)-$$ kubelet ash -l
|
||||
|
Loading…
Reference in New Issue
Block a user