add timeout flag to installer closes #28
This commit is contained in:
parent
f00b03b973
commit
830f418888
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ func (a *Agent) Install(i *Installer) {
|
|||
} else {
|
||||
opts := a.NewCMDOpts()
|
||||
opts.Command = fmt.Sprintf("%s -install --installPath=%s", meshOutput, nixMeshDir)
|
||||
opts.Timeout = i.Timeout
|
||||
out := a.CmdV2(opts)
|
||||
if out.Status.Exit != 0 {
|
||||
a.Logger.Fatalln("Error installing mesh agent:", out.Stderr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue