mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-08-05 11:58:00 +00:00
08be07cd3a
We should always use the yamlDir macro to find helper scripts relative to the yaml configuration file used. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
45 lines
920 B
YAML
45 lines
920 B
YAML
# clear-linux-config
|
|
|
|
# Switch between aliases if you want to install to an actual block device.
|
|
# i.e /dev/sda
|
|
block-devices: [
|
|
{name: "installer", file: "dev-clear-installer.img"}
|
|
]
|
|
|
|
targetMedia:
|
|
- name: ${installer}
|
|
type: disk
|
|
children:
|
|
- name: ${installer}1
|
|
fstype: vfat
|
|
mountpoint: /boot
|
|
size: "150M"
|
|
type: part
|
|
- name: ${installer}2
|
|
fstype: swap
|
|
size: "256M"
|
|
type: part
|
|
- name: ${installer}3
|
|
fstype: ext4
|
|
mountpoint: /
|
|
size: "3.0G"
|
|
type: part
|
|
|
|
bundles: [os-core, os-core-update, clr-installer]
|
|
offline: true
|
|
autoUpdate: false
|
|
postArchive: false
|
|
postReboot: false
|
|
telemetry: false
|
|
keyboard: us
|
|
language: en_US.UTF-8
|
|
kernel: kernel-native
|
|
kernel-arguments: {add: [clri.loglevel=4], remove: [console=ttyS0,115200n8]}
|
|
|
|
pre-install: [
|
|
{cmd: "${yamlDir}/developer-image-pre.sh"}
|
|
]
|
|
post-install: [
|
|
{cmd: "${yamlDir}/developer-image-post.sh ${chrootDir}"},
|
|
]
|