add timeout flag to installer closes #28
This commit is contained in:
parent
f00b03b973
commit
830f418888
@ -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…
Reference in New Issue
Block a user