mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-03 16:07:43 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user