Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cloud init to resize CentOS6 instance
#!/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
You can’t perform that action at this time.