mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22:59 +00:00
fix(lxc): mount_point.backup
should be false
by default (#1327)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
32de050605
commit
206fc4b03d
@ -156,7 +156,7 @@ output "ubuntu_container_public_key" {
|
||||
- `mount_point`
|
||||
- `acl` (Optional) Explicitly enable or disable ACL support.
|
||||
- `backup` (Optional) Whether to include the mount point in backups (only
|
||||
used for volume mount points).
|
||||
used for volume mount points, defaults to `false`).
|
||||
- `mount_options` (Optional) List of extra mount options.
|
||||
- `path` (Required) Path to the mount point as seen from inside the
|
||||
container.
|
||||
|
@ -56,7 +56,7 @@ const (
|
||||
dvMemoryDedicated = 512
|
||||
dvMemorySwap = 0
|
||||
dvMountPointACL = false
|
||||
dvMountPointBackup = true
|
||||
dvMountPointBackup = false
|
||||
dvMountPointPath = ""
|
||||
dvMountPointQuota = false
|
||||
dvMountPointReadOnly = false
|
||||
@ -2211,7 +2211,7 @@ func containerRead(ctx context.Context, d *schema.ResourceData, m interface{}) d
|
||||
if mp.Backup != nil {
|
||||
mountPoint[mkMountPointBackup] = *mp.Backup
|
||||
} else {
|
||||
mountPoint[mkMountPointBackup] = true
|
||||
mountPoint[mkMountPointBackup] = dvMountPointBackup
|
||||
}
|
||||
|
||||
if mp.MountOptions != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user