diff options
author | Brett Holman <brett.holman@canonical.com> | 2022-12-15 08:42:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 08:42:32 -0700 |
commit | 5f5c3e196d3cd4c6b491fa5ab76da141684a81dc (patch) | |
tree | bbeb47d7593ed95b2d1436292cf0aac7593adaa8 /cloudinit/config | |
parent | 0bfed1dce38f2fa21c06b6f3037e47911c029f4b (diff) | |
download | cloud-init-git-5f5c3e196d3cd4c6b491fa5ab76da141684a81dc.tar.gz |
mounts: document weird prefix in schema (#1913)
Add test and support for parsing IEC prefix format.
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/schemas/schema-cloud-config-v1.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/schemas/schema-cloud-config-v1.json b/cloudinit/config/schemas/schema-cloud-config-v1.json index a91dc482..7ff80ce3 100644 --- a/cloudinit/config/schemas/schema-cloud-config-v1.json +++ b/cloudinit/config/schemas/schema-cloud-config-v1.json @@ -1764,7 +1764,7 @@ "description": "Path to the swap file to create" }, "size": { - "description": "The size in bytes of the swap file, 'auto' or a human-readable size abbreviation of the format <float_size><units> where units are one of B, K, M, G or T.", + "description": "The size in bytes of the swap file, 'auto' or a human-readable size abbreviation of the format <float_size><units> where units are one of B, K, M, G or T. **WARNING: Attempts to use IEC prefixes in your configuration prior to cloud-init version 23.1 will result in unexpected behavior. SI prefixes names (KB, MB) are required on pre-23.1 cloud-init, however IEC values are used. In summary, assume 1KB == 1024B, not 1000B**", "oneOf": [ { "enum": [ |