Files
clr-installer/scripts/developer-live-desktop.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

119 lines
2.6 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-desktop.yaml
# Use Case: Live Image which boots into GUI Desktop
# Optionally allows for installing Clear Linux OS
# using the GUI clr-installer from the toolbar.
# 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-desktop.img"}
]
targetMedia:
- name: ${bdevice}
size: "10G"
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: "0" # Fill the test of the image
type: part
bundles: [
bootloader,
c-basic,
clr-installer-gui,
desktop-autostart,
editors,
gimp,
libreoffice,
network-basic,
openssh-server,
os-core,
os-core-update,
NetworkManager-extras,
package-utils,
pidgin,
telemetrics,
vlc,
]
# Default bundles to be installed to target media
# - Creates a /var/lib/clr-installer/clr-installer.yaml file
# - Used by the offline code to determine base bundles to make
# available for offline installation.
targetBundles: [
c-basic,
desktop-autostart,
git,
openssh-server,
os-core,
os-core-update,
vim,
]
offline: true
postArchive: false
postReboot: false
telemetry: false
iso: true
isoPublisher: Intel Corporation
isoApplicationId: desktop
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: []}
users:
- login: clrlinux
username: Clear Linux OS
admin: true
pre-install: [
{cmd: "${yamlDir}/developer-image-pre.sh"}
]
post-install: [
{cmd: "${yamlDir}/live-image-post-update-version.py ${chrootDir}"},
{cmd: "${yamlDir}/live-desktop-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}"},
]
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 2
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=2 expandtab:
# :indentSize=2:tabSize=2:noTabs=true:
#