Skip to content

Commit

Permalink
fixes proxmox_storage_iso temp dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
Stankye committed Nov 13, 2024
1 parent 845584b commit ba93052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/resource_storage_iso.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func resourceStorageIsoCreate(d *schema.ResourceData, meta interface{}) error {
node := d.Get("pve_node").(string)

client := pconf.Client
file, err := os.CreateTemp("/tmp", fileName)
file, err := os.CreateTemp(os.TempDir(), fileName)
if err != nil {
return err
}
Expand Down

0 comments on commit ba93052

Please sign in to comment.