Files
clr-installer/scripts/developer-live-server.yaml
Mark D Horn 5c89f2f78e scripts: Update sample YAML files
Bring in-sync with production roots.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-05-14 13:04:42 -07:00

76 lines
1.7 KiB
YAML

# clear-linux-config
# c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
# vi: set shiftwidth=2 tabstop=2 expandtab:
# :indentSize=2:tabSize=2:noTabs=true:
# File: developer-live-server.yaml
# Use Case: Live Image which boots into login prompt
# Optionally allows for installing Clear Linux OS
# using the TUI clr-installer by running clr-installer
# Switch between aliases if you want to install to an actual block device.
# i.e /dev/sda
block-devices: [
{name: "bdevice", file: "dev-clear-live-server.img"}
]
targetMedia:
- name: ${bdevice}
type: disk
children:
- name: ${bdevice}1
fstype: vfat
mountpoint: /boot
size: "150M"
type: part
- name: ${bdevice}2
fstype: swap
size: "32M"
type: part
- name: ${bdevice}3
fstype: ext4
mountpoint: /
size: "3.0G"
type: part
bundles: [
os-core,
os-core-update,
NetworkManager,
clr-installer,
telemetrics,
vim,
]
offline: true
postArchive: false
postReboot: false
telemetry: false
iso: true
isoPublisher: Intel Corporation
isoApplicationId: server
keepImage: true
autoUpdate: false
copySwupd: false
keyboard: us
language: en_US.UTF-8
kernel: kernel-native
# Uncomment to force demo mode for documentation runs
#kernel-arguments: {add: [clri.demo, clri.loglevel=4], remove: []}
pre-install: [
{cmd: "${yamlDir}/developer-image-pre.sh"}
]
post-install: [
{cmd: "${yamlDir}/live-image-post-update-version.py ${chrootDir}"},
{cmd: "${yamlDir}/live-server-post-install.sh ${chrootDir}"},
{cmd: "${yamlDir}/developer-image-post.sh ${chrootDir}"},
# Uncomment to install latest master of swupd into image for testing
# {cmd: "${yamlDir}/swupd-image-post.sh ${chrootDir}"},
]