aboutsummarylogtreecommitdiffstats
path: root/growfs-install
blob: f3ac5b62cec13e50af9d35cbfe6755e9beee5986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

build() {
    add_binary date
    add_binary growpart
    add_binary resize2fs
    add_binary sfdisk
    add_runscript
}

help() {
    cat <<HELPEOF
This hook expands the root filesystem to the size of the partition
which is mostly useful for cloud images to expand to the block device
they've been given.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: