# The openslx config will be placed in "/etc/openslx" in initramfs and copied # to "/opt/openslx/config" in the main rootfs image. # A comma separated list of dnbd3 server host names or ip addresses where # the read only image can be accessed. The first matching ip will be used. SLX_DNBD3_SERVERS='10.1.1.1,10.1.1.2' # Path on remote dnbd3 server for basic readonly image. SLX_DNBD3_IMAGE='centos/centos-rootfs.qcow2' # DNBD3 image revision to use. SLX_DNBD3_RID='1' # Device name to which the read only image will be connected. # You probably don't need to change this, ever. SLX_DNBD3_DEVICE='/dev/dnbd0' # Partition identifier for the system partition within the qcow2 rootfs image # If empty the whole device will be used (no partition assumed). SLX_SYSTEM_PARTITION_IDENTIFIER='system' # Script to run and set the read only device. # (e.g. "lvm_scan && read_only_partition=/dev/centos/root") SLX_SYSTEM_PARTITION_PREPARATION_SCRIPT='' # Local device (HDD) to use as a scratch space to combine with the DNBD3 image # to make it writable via device mapper. This can be an MBR type (e.g. 44) or # a GPT label. If empty, a RAMdisk will be used as a fallback. SLX_WRITABLE_DEVICE_IDENTIFIER='44' # Size of the RAMdisk to use as a scratch fallback. SLX_RAMDISK_SIZE_IN_MB='' # If empty we will end up in an empty fstab file. If you want to reuse the # original fstab (from the template system) provide a dummy script like "true". SLX_GENERATE_FSTAB_SCRIPT=' echo "/dev/mapper/root / btrfs subvol=root 0 0" >> "$NEWROOT/etc/fstab" ' # Specifies mount options for the final root location. SLX_MOUNT_ROOT_OPTIONS='-o subvol=root' # Path where all the logs should be placed. SLX_LOG_FILE_PATH='/var/log/openslx'