Skip to content

Instantly share code, notes, and snippets.

@oscartbeaumont
Last active July 26, 2019 07:17
Show Gist options
  • Save oscartbeaumont/b00c1b4271bdc86e4754d2c9e3266b48 to your computer and use it in GitHub Desktop.
Save oscartbeaumont/b00c1b4271bdc86e4754d2c9e3266b48 to your computer and use it in GitHub Desktop.
A Clear Linux Deployment Configuration
#clear-linux-config
block-devices: [
{name: "installer", file: "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
# System Configuration
bundles: [os-core, os-core-update, sysadmin-basic, openssh-server, cloud-native-basic] # clr-installer
autoUpdate: true
postArchive: true
postReboot: true
kernel: kernel-native
# User Configuration
telemetry: false
keyboard: us
language: en_US.UTF-8
# TODO: timezone:
# kernel-arguments: {
# add: ["nomodeset", "i915.modeset=0"]
# }
# post-install: [
# {cmd: "scripts/installer-post.sh ${chrootDir}"},
# ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment