fix: add --custom-ngx-build back, fix preflight URL
This commit is contained in:
parent
83f73c0e9c
commit
02e9fd2793
2 changed files with 2 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ func InstallNode(node state.Node, apiToken, apiHost, labels string) error {
|
||||||
fmt.Printf("[%s] Running setup...\n", node.Name)
|
fmt.Printf("[%s] Running setup...\n", node.Name)
|
||||||
cmd = exec.Command("bash", filepath.Join(instanceDir, "setup.sh"),
|
cmd = exec.Command("bash", filepath.Join(instanceDir, "setup.sh"),
|
||||||
"--batch", "--token", apiToken, "--cloud", cloudFromHost(apiHost),
|
"--batch", "--token", apiToken, "--cloud", cloudFromHost(apiHost),
|
||||||
|
"--custom-ngx-build",
|
||||||
)
|
)
|
||||||
|
|
||||||
logFile, _ := os.Create(filepath.Join(instanceDir, "install.log"))
|
logFile, _ := os.Create(filepath.Join(instanceDir, "install.log"))
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ func Run() Result {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 6. Installer reachability
|
// 6. Installer reachability
|
||||||
installerOk := shared.HTTPHead("https://storage.googleapis.com/meganode_storage/6.13/")
|
installerOk := shared.HTTPHead("https://storage.googleapis.com/meganode_storage/")
|
||||||
r.Checks = append(r.Checks, Check{
|
r.Checks = append(r.Checks, Check{
|
||||||
Name: "installer_reachable", Passed: installerOk,
|
Name: "installer_reachable", Passed: installerOk,
|
||||||
Detail: "storage.googleapis.com",
|
Detail: "storage.googleapis.com",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue