mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-03 12:11:27 +00:00
With this the user can add alias block devices and use these alias
to expand target media's Name values, i.e:
block-devices: [
{name: "target", file: "/dev/sda"}
]
targetMedia:
- name: ${target}
type: disk
...
Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
32 lines
574 B
YAML
32 lines
574 B
YAML
#clear-linux-config
|
|
block-devices: [
|
|
{name: "target", file: "/dev/sda"},
|
|
{name: "unused", file: "/dev/null"}
|
|
]
|
|
|
|
targetMedia:
|
|
- name: ${target}
|
|
size: "30752636928"
|
|
type: disk
|
|
children:
|
|
- name: ${target}1
|
|
fstype: vfat
|
|
mountpoint: /boot
|
|
size: "157286400"
|
|
type: part
|
|
- name: ${target}2
|
|
fstype: swap
|
|
size: "2147483648"
|
|
type: part
|
|
- name: ${target}3
|
|
fstype: ext4
|
|
mountpoint: /
|
|
size: "28447866880"
|
|
type: part
|
|
|
|
bundles: [os-core, os-core-update]
|
|
telemetry: false
|
|
keyboard: us
|
|
language: en_US.UTF-8
|
|
kernel: kernel-native
|