Files
clr-installer/tests/block-devices-alias.yaml
T
Leandro Dorileo b1334c2648 storage: add block-devices alias support
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>
2018-10-02 10:04:10 -07:00

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