cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #03252
[Merge] ~chad.smith/cloud-init:feature/schema-resizefs-bootcmd into cloud-init:master
The proposal to merge ~chad.smith/cloud-init:feature/schema-resizefs-bootcmd into cloud-init:master has been updated.
Description changed to:
schema: Add json schema to resizefs and bootcmd modules
Add schema definitions to both cc_resizefs and cc_bootcmd modules. Those
schema defintions are used to generate module documention and log warnings
for schema infractions.
This branch also drops vestigial 'resize_rootfs_tmp' option as it
effectively only ensured a directory was created and didn't make use of
that directory for any resize operations.
to test:
$ tox -e doc; xdg-open doc/rtd_html/topics/modules.html
$ python3 -m cloudinit.cmd.main devel schema --doc
$ cat > test.cfg <<EOF
#cloud-init
bootcmd:
junk
resize_rootfs: invalid
EOF
$ python3 -m cloudinit.cmd.main devel schema -c test.cfg
For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/330243
--
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:feature/schema-resizefs-bootcmd into cloud-init:master.
References