The 0.4.2 rancherOS does not resize the partition on boot.
Run this docker image with privilege to resize the partition. It runs this script.
#!/bin/sh echo "Resizing partitin" growpart /dev/xvda 1 partprobe resize2fs /dev/xvda1 echo "Done"
Run using command docker run --privileged -i --rm pcrofts/ranchresize
Content type
Image
Digest
Size
81.9 MB
Last updated
over 10 years ago
docker pull pcrofts/ranchresize