Skip to content

Commit

Permalink
Auth change for 4.5 Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Krunal-Thakkar committed Dec 7, 2023
1 parent e0d0793 commit 2fade7e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,14 +572,15 @@ func (gc *GatewayClient) BeginInstallation(jsonStr, mdmUsername, mdmPassword, li

u, _ := url.Parse(gc.host + "/im/types/Configuration/actions/install")
q := u.Query()
q.Set("noUpload", "false")
q.Set("noInstall", "false")
q.Set("noConfigure", "false")
q.Set("noLinuxDevValidation", "false")
q.Set("globalZeroPadPolicy", "false")

if gc.version == "4.0" {
q.Set("noSecurityBootstrap", "false")
} else {
q.Set("noUpload", "false")
q.Set("noInstall", "false")
q.Set("noConfigure", "false")
q.Set("noLinuxDevValidation", "false")
q.Set("globalZeroPadPolicy", "false")
}

if expansion {
Expand Down

0 comments on commit 2fade7e

Please sign in to comment.