Skip to content

Commit

Permalink
default pxe_boot to null to avoid argument conflicts (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchcrab authored Mar 5, 2023
1 parent e45a8c7 commit 2384332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Default `pxe_boot` to `null`.

## [1.4.0] - 2023-03-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This module is an opinionated take on creating a VM in Proxmox; not all possible
| os_type | Type of OS for preprovisioning. | `string` | `null` | no |
| pve_instance_description | Description of the instance. | `string` | n/a | yes |
| pve_instance_name | Name of the instance. | `string` | n/a | yes |
| pxe_boot | Set PXE boot mode | `bool` | `false` | no |
| pxe_boot | Set PXE boot mode | `bool` | `null` | no |
| qemu_agent | Enable QEMU guest agent (must be installed in the template). Set to `1` to enable or `0` to disable. | `number` | `0` | no |
| resource_pool | Name of the resource pool the assign the instance to. | `string` | n/a | yes |
| snippet_dir | Name of the snippet subdirectory. | `string` | `"snippets"` | no |
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ variable "memory" {
}

variable "pxe_boot" {
default = false
default = null
description = "Set PXE boot mode"
type = bool
}
Expand Down

0 comments on commit 2384332

Please sign in to comment.