diff --git a/internal/osbuild/copy_stage.go b/internal/osbuild/copy_stage.go index 3d3f06f69..73388240a 100644 --- a/internal/osbuild/copy_stage.go +++ b/internal/osbuild/copy_stage.go @@ -17,6 +17,10 @@ type CopyStageOptions struct { type CopyStagePath struct { From string `json:"from"` To string `json:"to"` + + // Remove the destination before copying. Works only for files, not directories. + // Default: false + RemoveDestination bool `json:"remove_destination,omitempty"` } func (CopyStageOptions) isStageOptions() {}