mirror of
https://gitlab.com/alemaire/image-specs.git
synced 2025-01-10 22:53:30 +00:00
Fix parted invocation
This commit is contained in:
parent
dc9ced8ed8
commit
6e0b7a4a96
@ -4,6 +4,6 @@ roottmp=$(lsblk -l -o MAJ:MIN,MOUNTPOINT | grep '/$')
|
||||
rootpart=/dev/block/${roottmp% /}
|
||||
rootdev=${rootpart%:*}:0
|
||||
|
||||
parted -s $rootdev resizepart 2 100%
|
||||
echo 'y\n-1s\n' | parted $rootdev resizepart 2
|
||||
|
||||
resize2fs $rootpart
|
||||
|
Loading…
Reference in New Issue
Block a user