Fix parted invocation again

This commit is contained in:
Christian Schlüter 2018-07-11 06:49:42 +02:00
parent 6e0b7a4a96
commit 9adfac6964
No known key found for this signature in database
GPG Key ID: 4955EB2D53B5CBD2
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ roottmp=$(lsblk -l -o MAJ:MIN,MOUNTPOINT | grep '/$')
rootpart=/dev/block/${roottmp% /} rootpart=/dev/block/${roottmp% /}
rootdev=${rootpart%:*}:0 rootdev=${rootpart%:*}:0
echo 'y\n-1s\n' | parted $rootdev resizepart 2 printf "y\n-1s\n" | parted $rootdev resizepart 2
resize2fs $rootpart resize2fs $rootpart