cdist configuration management Latest manual: Home page:
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
573 B

# FIXME: Write cdist type / explorer that finds
# package for a file, distro independent
if [ "$#" -ne 1 ]; then
echo "$0 dir-out"
exit 1
dir=$1; shift
mkdir -p "$boot"
cp /boot/vmlinuz-linux \
/boot/initramfs-linux-fallback.img \
/usr/lib/syslinux/bios/isolinux.bin \
cp /usr/lib/syslinux/bios/ldlinux.c32 \
cat > "$dir/isolinux.cfg" << eof
default preos
label preos
title cdist PreOS
linux /boot/vmlinuz-linux
initrd /boot/initramfs-linux-fallback.img