diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-10-01 16:10:01 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-10-01 16:10:01 -0400 |
commit | dc626ee8750e79518c16769a778e143461d33dc4 (patch) | |
tree | fdb809873eb6b4cfc467ab3436cc345fc7865a87 /cloudinit/config/cc_ssh.py | |
parent | a429725ede3395a7e9c21b864a82e2c092657ae2 (diff) | |
parent | 5bb6a49f66c76d9accb912a5612c970a52f5b964 (diff) | |
download | vyos-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_ssh.py')
0 files changed, 0 insertions, 0 deletions