mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-03 20:21:27 +00:00
Disable modeset and keep the screen resolution consistent across platforms. Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
44 lines
819 B
YAML
44 lines
819 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: "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: "2.6G"
|
|
type: part
|
|
|
|
bundles: [os-core, os-core-update, clr-installer]
|
|
autoUpdate: false
|
|
postArchive: false
|
|
postReboot: false
|
|
telemetry: false
|
|
keyboard: us
|
|
language: en_US.UTF-8
|
|
kernel: kernel-native
|
|
|
|
kernel-arguments: {
|
|
add: ["nomodeset", "i915.modeset=0"]
|
|
}
|
|
|
|
post-install: [
|
|
{cmd: "scripts/installer-image-post.sh ${chrootDir}"}
|
|
]
|