diskimage-builder/elements/cloud-init-disable-resizefs/post-install.d/50-cloud-init-disable-resizefs
Clint Byrum 2af0348fd3 Add element to disable cloud-init resizefs
The resize module is problematic for using grub on very large root
partitions. It is also extremely slow on large partitions, and users are
likely better off creating new partitions in the empty space.

Change-Id: Ic050c74aa71165b43c8908c4d6c7c0ea99ddafa3
Story: 2000175
2015-07-21 14:09:07 -07:00

10 lines
142 B
Bash
Executable File

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
sed -ie 's/^ - resizefs$//' /etc/cloud/cloud.cfg