Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.package
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • slapos.package
  • Merge requests
  • !145

Merged
Created May 26, 2021 by Łukasz Nowak@lukeDeveloper4 of 4 tasks completed4/4 tasks

Feature/capri vps

  • Overview 0
  • Commits 1
  • Changes 3

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
Edited May 28, 2021 by Łukasz Nowak
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/capri-vps
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7