mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
Merge pull request #184 from marineam/btrfs
fix(disk_util): Fix undefined variable introduce in 4dbdb391
This commit is contained in:
commit
f96ddc8d77
@ -439,8 +439,8 @@ def ResizeExt(part, device):
|
|||||||
part: dict defining the partition
|
part: dict defining the partition
|
||||||
device: name of the block device
|
device: name of the block device
|
||||||
"""
|
"""
|
||||||
Sudo(['e2fsck', '-p', '-f', loop_dev], stdout_null=True)
|
Sudo(['e2fsck', '-p', '-f', device], stdout_null=True)
|
||||||
Sudo(['resize2fs', loop_dev, str(part['fs_blocks'])])
|
Sudo(['resize2fs', device, str(part['fs_blocks'])])
|
||||||
|
|
||||||
|
|
||||||
def ResizeBtrfs(part, device):
|
def ResizeBtrfs(part, device):
|
||||||
|
Loading…
Reference in New Issue
Block a user