Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Mutliple disk mount for multi partitioning in configuration #3

Open
IceManGreen opened this issue Mar 15, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@IceManGreen
Copy link
Contributor

IceManGreen commented Mar 15, 2023

Is your feature request related to a problem? Please describe.
Actually, I cannot mount multiple partition on a virtual guest without creating it first, then using libvirt and ssh commands to manually mount additional disks and pools.

Describe the solution you'd like
I would like a concise configuration to mount additional partitions at boot and keep it easy.
The current configuration :

hosts:
    # 'disk' is optional
  - disk: 20

Should be replaced with :

hosts:
    # 'disks' will be optional
    # default behavior will mount the sysroot on '/' with 30GB 
  - disks:
      # 'sysroot' is optional
      # default behavior will mount the sysroot on '/' with 30GB 
      sysroot:
        size: 30
      # 'additional' will be optional
      additional: 
          # 'size' is mandatory for additional disks
        - size: 30
          # optional: the disk mounted on the filesystem will be accessed with read-only permissions
          read-only: true

The former configuration should create 3 partitions:

  • 1 sysroot partition on '/' with 20GB
  • 1 additional disk on '/dev/sda1' with 10GB
  • 1 additional disk on '/dev/sda2' with 15GB

Technically, simple configuration will still be possible because 'disks' remains optional.
Still, without additional disks, the configuration remains simple :

hosts:
  - disks:
      sysroot:
        size: 30
@IceManGreen IceManGreen added the enhancement New feature or request label Mar 15, 2023
@IceManGreen IceManGreen self-assigned this Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant