Created
November 20, 2015 13:02
-
-
Save joubertredrat/f979e232e1cc8e62f216 to your computer and use it in GitHub Desktop.
Cloud init to resize CentOS6 instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'Resize partition' | |
yum -y install epel-release | |
yum -y install cloud-utils | |
yum -y install dracut-modules-growroot | |
growpart /dev/vda 1 | |
reboot | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment