mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Merge pull request #234 from zmarano/master
Fix expand-root script to work for Debian 8 and simplify how partition types are formulated.
This commit is contained in:
commit
16b67f604b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ logger="logger -t $prog"
|
||||||
|
|
||||||
device_path="/dev/xvda"
|
device_path="/dev/xvda"
|
||||||
|
|
||||||
filesystem=`blkid | grep $device_path | sed 's#\(.*\):.*TYPE="\(.*\)".*#\2#'`
|
filesystem=$(blkid -s TYPE -o value ${device_path})
|
||||||
|
|
||||||
case $filesystem in
|
case $filesystem in
|
||||||
xfs) xfs_growfs / ;;
|
xfs) xfs_growfs / ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue