fix: set cmd.Dir to instance dir so setup.sh finds modules/
This commit is contained in:
parent
fd3a005fe8
commit
91b8b0e980
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ func InstallNode(node state.Node, apiToken, apiHost, labels string) error {
|
|||
"--batch", "--token", apiToken, "--cloud", cloudFromHost(apiHost),
|
||||
"--custom-ngx-build",
|
||||
)
|
||||
cmd.Dir = instanceDir
|
||||
|
||||
logFile, _ := os.Create(filepath.Join(instanceDir, "install.log"))
|
||||
if logFile != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue