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