agama/service/etc/d-installer.yaml
Ancor Gonzalez Sosa 6290c3c90c
Merge pull request #188 from yast/configurable_volumes
Configurable storage volumes
2022-06-10 15:19:56 +02:00

99 lines
2.2 KiB
YAML

software:
installation_repositories:
- https://download.opensuse.org/tumbleweed/repo/oss/
- https://download.opensuse.org/tumbleweed/repo/non-oss/
- https://download.opensuse.org/update/tumbleweed/
mandatory_patterns:
- enhanced_base # only pattern that is shared among all roles on TW
optional_patterns: null # no optional pattern shared
security:
lsm: apparmor
available_lsms:
apparmor:
patterns:
- apparmor
selinux:
patterns:
- selinux
policy: permissive
none:
patterns: null
distributions:
# TODO replace simple id with better description of distributions
- Tumbleweed
web:
ssl: null
ssl_cert: null
ssl_key: null
storage:
volumes:
- mount_point: "/"
fs_type: btrfs
desired_size: 10 GiB
min_size: 5 GiB
max_size: unlimited
weight: 30
# There must always be a root
proposed_configurable: false
snapshots: true
snapshots_percentage: 250
snapshots_configurable: true
# Disable snapshots if there is not enough room
disable_order: 3
btrfs_default_subvolume: "@"
subvolumes:
- path: home
- path: opt
- path: root
- path: srv
- path: usr/local
# Unified var subvolume - https://lists.opensuse.org/opensuse-packaging/2017-11/msg00017.html
- path: var
copy_on_write: false
# Architecture specific subvolumes
- path: boot/grub2/arm64-efi
archs: aarch64
- path: boot/grub2/arm-efi
archs: arm
- path: boot/grub2/i386-pc
archs: x86_64
- path: boot/grub2/powerpc-ieee1275
archs: ppc,!board_powernv
- path: boot/grub2/s390x-emu
archs: s390
- path: boot/grub2/x86_64-efi
archs: x86_64
- path: boot/grub2/riscv64-efi
archs: riscv64
- mount_point: "/home"
fs_type: xfs
desired_size: 40 GiB
min_size: 10 GiB
max_size: unlimited
weight: 60
proposed: false
proposed_configurable: true
disable_order: 1
- mount_point: "swap"
fs_type: swap
desired_size: 2 GiB
min_size: 1 GiB
max_size: 2 GiB
weight: 10
adjust_by_ram: false
adjust_by_ram_configurable: true
proposed_configurable: true
disable_order: 2