diff options
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/"] + |