Last active
February 1, 2025 23:32
-
-
Save mrwormhole/2d74bb00d0150df26c54af02a4499c6b to your computer and use it in GitHub Desktop.
EXT4 disk partitioning on Hetzner, please adjust the percentages carefully, this config leaves 60% as unformatted second partition, this is useful for ceph with rook
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
#cloud-config | |
# Ubuntu 22.04+ | |
resize_rootfs: false | |
write_files: | |
- content: | | |
path: /etc/growroot-disabled | |
runcmd: | |
- [ sgdisk, -e, /dev/sda ] | |
- [ partprobe ] | |
- [ parted, -s, /dev/sda, mkpart, primary, ext4, "40%", "100%" ] | |
- [ growpart, /dev/sda, 1 ] | |
- [ resize2fs, /dev/sda1 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment