diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-11-05 05:18:31 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 05:18:31 +0700 |
commit | 16783239ad2dd69c28b279b6027eba6c3ad6f05b (patch) | |
tree | a76e1408ecdc89c858a13870a18cf2d5961ee91a /config | |
parent | 889ff2dbb7ebcc26e5256b4a9f478e203db7bce0 (diff) | |
parent | d0ec0c1800097250594a17e88cae28b423a8eff2 (diff) | |
download | vyos-cloud-init-16783239ad2dd69c28b279b6027eba6c3ad6f05b.tar.gz vyos-cloud-init-16783239ad2dd69c28b279b6027eba6c3ad6f05b.zip |
Merge pull request #25 from zdc/T3039-equuleus
T3039: Enabled growpart and resizefs (modified) modules
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.d/10_vyos.cfg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/cloud.cfg.d/10_vyos.cfg b/config/cloud.cfg.d/10_vyos.cfg index 6af79e52..583c263c 100644 --- a/config/cloud.cfg.d/10_vyos.cfg +++ b/config/cloud.cfg.d/10_vyos.cfg @@ -19,6 +19,8 @@ disable_vmware_customization: true # The modules that run in the 'init' stage cloud_init_modules: + - growpart + - resizefs_vyos # The modules that run in the 'config' stage cloud_config_modules: @@ -43,3 +45,13 @@ system_info: templates_dir: /etc/cloud/templates/ upstart_dir: /etc/init/ + +# Set partitions info for the growpart module +growpart: + mode: auto + devices: ["/usr/lib/live/mount/persistence/"] + ignore_growroot_disabled: false + +# Set partitions info for the resizefs module +resizefs_list: ["/usr/lib/live/mount/persistence/"] + |