Skip to content

Commit

Permalink
Cirrus: Update to XFS root in Fedora VM images
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Evich <cevich@redhat.com>
  • Loading branch information
cevich committed May 11, 2021
1 parent 8dcd5b8 commit de5708c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
PRIOR_UBUNTU_NAME: "ubuntu-2010"

# Google-cloud VM Images
IMAGE_SUFFIX: "c6032583541653504"
IMAGE_SUFFIX: "c6202812959817728"
FEDORA_CACHE_IMAGE_NAME: "fedora-${IMAGE_SUFFIX}"
PRIOR_FEDORA_CACHE_IMAGE_NAME: "prior-fedora-${IMAGE_SUFFIX}"
UBUNTU_CACHE_IMAGE_NAME: "ubuntu-${IMAGE_SUFFIX}"
Expand Down
2 changes: 2 additions & 0 deletions contrib/cirrus/add_second_partition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ FSTYPE=$(findmnt --first-only --noheadings --output FSTYPE ${SLASH_DEVICE}1)
echo "Expanding $FSTYPE filesystem on ${SLASH_DEVICE}1"
case $FSTYPE in
ext*) resize2fs ${SLASH_DEVICE}1 ;;
btrfs) btrfs filesystem resize max / ;;
xfs) xfs_growfs / ;;
*) die "Script $(basename $0) doesn't know how to resize a $FSTYPE filesystem." ;;
esac

Expand Down

0 comments on commit de5708c

Please sign in to comment.