mirror of
https://github.com/siderolabs/talos.git
synced 2026-05-06 04:46:17 +02:00
fix: always grow disks
Previously, there was no way to grow virtual disks attached to VMs, even though resizing them was possible (e.g. through hypervisor changing the size of disk). This forces the UserVolume of type=disk to always grow to full size of the disk. Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com> (cherry picked from commit e2df0f6ce8c47b0dc3e93bf257afb8a1ae9243fb)
This commit is contained in:
parent
f0c5cb517f
commit
38d391e9dc
@ -75,6 +75,7 @@ func UserVolumeTransformer(c configconfig.Config) ([]VolumeResource, error) {
|
||||
},
|
||||
PartitionSpec: block.PartitionSpec{
|
||||
TypeUUID: partition.LinuxFilesystemData,
|
||||
Grow: true,
|
||||
},
|
||||
FilesystemSpec: block.FilesystemSpec{
|
||||
Type: userVolumeConfig.Filesystem().Type(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user