Skip to content

Commit

Permalink
Set DeleteOnTermination in BlockDeviceMapping to false if server crea…
Browse files Browse the repository at this point in the history
…tion with volume instead of image (#114)
  • Loading branch information
dergeberl committed Feb 22, 2024
1 parent 147efab commit e7da468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (ex *Executor) bootFromVolume(machineName, imageID string, createOpts serve
UUID: volumeID,
VolumeSize: ex.Config.Spec.RootDiskSize,
BootIndex: 0,
DeleteOnTermination: true,
DeleteOnTermination: false,
SourceType: "volume",
DestinationType: "volume",
}
Expand Down

0 comments on commit e7da468

Please sign in to comment.