Feature/capri vps
Write a playbook which ensures that /etc/opt/slapos/slapos.cfg
:
-
has proper
manager_list
defined:
[slapos]
manager_list = devperm,prerm
- has correct disk given to the VMs (Note: requires new lines due to splitlines usage) :
[manager:devperm]
allowed-disk-for-vm =
/dev/nvme0n1
/dev/nvme1n1
/dev/nvme2n1
/dev/nvme3n1
- has forced binary cache (Note: requires new lines due to splitting on newslines):
[networkcache]
download-from-binary-cache-force-url-list =
https://lab.nexedi.com/nexedi/slapos/raw/1.0.
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.
- Make tasks shareable, so that other styles of machines can be added easily
The https://handbook.rapid.space/provider/rapidspace-HowTo.Check.Datacenter section Make sure slapos is correctly configured is covered for VPS brute.
Notes:
- ini_file module can't be used everywhere due to missing multiline support