cloudinit: Add support for cloud-init-growpart.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2024-04-29 16:36:05 -04:00
parent 739ae42cac
commit d049eb2173
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,13 @@ gen_require(`
# Declarations
#
## <desc>
## <p>
## Enable support for the cloud-init-growpart module.
## </p>
## </desc>
gen_tunable(cloudinit_growpart, false)
## <desc>
## <p>
## Enable support for cloud-init to manage all non-security files.
@ -128,6 +135,8 @@ ssh_setattr_home_dirs(cloud_init_t)
# Read public keys
ssh_read_server_keys(cloud_init_t)
storage_raw_read_fixed_disk_cond(cloud_init_t, cloudinit_growpart)
sysnet_run_ifconfig(cloud_init_t, system_r)
term_write_console(cloud_init_t)