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:
Anders Ingemann 2015-06-25 00:53:19 +02:00
commit 16b67f604b

View file

@ -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 / ;;