Skip to content

Commit

Permalink
condition/firmwareInstall: add parameter to dry run firmware install
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Sep 28, 2023
1 parent b26101f commit e4c2952
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions condition/firmware_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ type FirmwareInstallTaskParameters struct {
// Force install given firmware regardless of current firmware version.
ForceInstall bool `json:"force_install,omitempty"`

// When defined, flasher will not perform any disruptive actions on the asset,
// it will download the firmware to be installed and determine if the firmware is applicable for the device.
//
// No firmware installs will be attempted and if the device is powered off, it will not be powered on.
DryRun bool `json:"dry_run,omitempty"`

// Task priority is the task priority between 0 and 3
// where 0 is the default and 3 is the max.
//
Expand Down

0 comments on commit e4c2952

Please sign in to comment.