Files
clr-installer/scripts/developer-image.yaml
T
John Akre 1527c25d6d Add offline install support
When creating installer images with offline support, installation
content for a minimum set of bundles will be downloaded to the
/var/lib/clr-installer/offline-content directory inside the installer
image. The offline-content directory will be used instead of the network
to install bundles when it exists.

To generate images with offline support, the --offline command line
argument or the offline config file field can be set.

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-09-23 16:08:10 -07:00

45 lines
913 B
YAML

#clear-linux-config
# switch between aliases if you want to install to an actuall 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: "scripts/developer-image-pre.sh"}
]
post-install: [
{cmd: "scripts/developer-image-post.sh ${chrootDir}"},
]