Resize Ubuntu Volume group LVM

So you've seen the light and decided to start using LVM. You'll quickly find out that by default Ubuntu doesn't allocate all available disk space to the volume group. To use all the disk space, you can run the following command:

lvresize --extents +100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv