Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A arch-boxes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • arch-boxes
  • Merge requests
  • !160

Make disk size configurable per image

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kristian Klausen requested to merge klausenbusk/arch-boxes:configurable-disk-size into master Jan 31, 2021
  • Overview 0
  • Commits 3
  • Pipelines 4
  • Changes 5
Shrink the cloud image to the bare minimum (2GB)

cloud-init resizes the disk[1] so we don't need a "big disk" with a lot
of unused space + some cloud providers charges for the unused space +
some cloud providers offers VM with disk < 20GB.

[1] https://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart

Fix #127
Expand the basic disk image from 20G -> 40G

It is meant for local usage so the disk should be "big enough".
Edited Jan 31, 2021 by Kristian Klausen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: configurable-disk-size