Files
Mark D Horn 08be07cd3a scripts: Fix post install hooks
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>
2020-05-14 13:04:42 -07:00

47 lines
780 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: "bdevice", file: "live.img"}
]
targetMedia:
- name: ${bdevice}
size: "5.08G"
type: disk
children:
- name: ${bdevice}1
fstype: vfat
mountpoint: /boot
size: "64M"
type: part
- name: ${bdevice}2
fstype: ext4
mountpoint: /
size: "5G"
type: part
bundles: [
bootloader,
editors,
network-basic,
openssh-server,
os-core,
os-core-update,
sysadmin-basic,
]
autoUpdate: false
postArchive: false
postReboot: false
telemetry: false
keyboard: us
language: en_US.UTF-8
kernel: kernel-native
post-install: [
{cmd: "${yamlDir}/live-image-post-update-version.py ${chrootDir}"}
]