#!/bin/bash -ex # vi: ts=4 noexpandtab case $PASS in ubuntu-server-minimal.ubuntu-server.installer.*.*) exit 0 ;; ubuntu-server-minimal.ubuntu-server.installer.*) ;; *) exit 0 ;; esac cat < /etc/initramfs-tools/conf.d/casperize.conf export CASPER_GENERATE_UUID=1 EOF cat < /etc/initramfs-tools/conf.d/default-layer.conf LAYERFS_PATH=${PASS}.squashfs EOF