Skip to content

Commit 5cbc927

Browse files
committed
fix file can't find
1 parent 123a70b commit 5cbc927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/sealos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (s *SealosInstaller) InstallMaster0() {
5858
cmd := fmt.Sprintf("echo %s apiserver.cluster.local >> /etc/hosts", s.Masters[0])
5959
Cmd(s.Masters[0], cmd)
6060

61-
cmd = "echo \"" + string(Template(s.Masters, VIP)) + "\" > /root/kubeadm-config.yaml"
61+
cmd = "echo \"" + string(Template(s.Masters, s.VIP)) + "\" > /root/kubeadm-config.yaml"
6262
Cmd(s.Masters[0], cmd)
6363

6464
cmd = `kubeadm init --config=/root/kubeadm-config.yaml --experimental-upload-certs`

0 commit comments

Comments
 (0)