Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send sealos error when use abs path to excute init. #650

Closed
oldthreefeng opened this issue Jul 30, 2021 · 0 comments · Fixed by #654
Closed

send sealos error when use abs path to excute init. #650

oldthreefeng opened this issue Jul 30, 2021 · 0 comments · Fixed by #654
Assignees

Comments

@oldthreefeng
Copy link
Collaborator

like init cmd:

basepath: /opt/sealos
excutepath: /opt/sealos/sealos

root@share:/opt/sealos# /opt/sealos/sealos init --master 192.168.169.100     --master 192.168.169.101     --master 192.168.169.102     --node 192.168.169.200     --node 192.168.169.201     --network calico     --user root     --passwd 123456     --version v1.21.2     --pkg-url /opt/kube1.21.2.tar.gz

when send sealos to node.


12:49:22 [DEBG] [scp.go:27] [ssh]source file md5 value is md5sum: /opt/sealos//opt/sealos/sealos: No such file or directory
12:49:22 [DEBG] [ssh.go:25] [ssh][192.168.169.101:22]command result is: 0

find the soucre

https://github.com/fanux/sealos/blob/33e0596fb896f428fbe7834bf20df3f8a1015360/install/utils.go#L300-L305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants