Skip to content

Instantly share code, notes, and snippets.

@oliveiracdz
Created April 14, 2021 15:37
Show Gist options
  • Save oliveiracdz/26495163ac616fa53ce13f91970b97fb to your computer and use it in GitHub Desktop.
Save oliveiracdz/26495163ac616fa53ce13f91970b97fb to your computer and use it in GitHub Desktop.
#https://stackoverflow.com/a/36348255/1440095
sudo apt install -y cloud-utils # Debian jessie
sudo apt install -y cloud-guest-utils # Debian stretch, Ubuntu
sudo growpart /dev/sda 1
sudo resize2fs /dev/sda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment