mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 21:11:54 +01:00
fix(disk_util): Fix undefined variable introduce in 4dbdb391
This commit is contained in:
parent
4dbdb391a4
commit
87c0814006
@ -439,8 +439,8 @@ def ResizeExt(part, device):
|
||||
part: dict defining the partition
|
||||
device: name of the block device
|
||||
"""
|
||||
Sudo(['e2fsck', '-p', '-f', loop_dev], stdout_null=True)
|
||||
Sudo(['resize2fs', loop_dev, str(part['fs_blocks'])])
|
||||
Sudo(['e2fsck', '-p', '-f', device], stdout_null=True)
|
||||
Sudo(['resize2fs', device, str(part['fs_blocks'])])
|
||||
|
||||
|
||||
def ResizeBtrfs(part, device):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user