Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Jul 2, 2020
1 parent d02a1ac commit 48afbe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set -euo pipefail
# Growpart /, until we can fix Ignition for separate /var
# (And eventually we want ignition-disks)

echo "nope"
exit 0

path=$1
shift

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "${TYPE}" == "${orig_type}" ] && [ "${UUID}" == "${orig_uuid}" ]; then
# For now we need to fsck first, see https://github.com/coreos/coreos-assembler/pull/1452
# Basically we're not passing `metadata_csum_seed` as a mkfs.ext4 option
# because grub2 barfs on it.
ext4) e2fsck -y "${target}" && tune2fs -U random "${target}" ;;
ext4) e2fsck -fy "${target}" && tune2fs -U random "${target}" ;;
xfs) xfs_admin -U generate "${target}" ;;
*) echo "unexpected filesystem type ${TYPE}" 1>&2; exit 1 ;;
esac
Expand Down

0 comments on commit 48afbe5

Please sign in to comment.