summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_users_groups.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-10-01 16:10:01 -0400
committerScott Moser <smoser@ubuntu.com>2014-10-01 16:10:01 -0400
commitdc626ee8750e79518c16769a778e143461d33dc4 (patch)
treefdb809873eb6b4cfc467ab3436cc345fc7865a87 /cloudinit/config/cc_users_groups.py
parenta429725ede3395a7e9c21b864a82e2c092657ae2 (diff)
parent5bb6a49f66c76d9accb912a5612c970a52f5b964 (diff)
downloadvyos-cloud-init-dc626ee8750e79518c16769a778e143461d33dc4.tar.gz
vyos-cloud-init-dc626ee8750e79518c16769a778e143461d33dc4.zip
cc_mounts: add ability to create swap file
User can now configure setting of a swap file. Only supports un-encrypted swap for now. swap: filename: /swap.img size: "auto" or size in bytes maxsize: size in bytes Also adds 2 util: read_meminfo: return how much memory on system. human2bytes: convert human numbers (8G) to bytes.
Diffstat (limited to 'cloudinit/config/cc_users_groups.py')
0 files changed, 0 insertions, 0 deletions