c292f23003dc8ab0e1274347d1a15d014659b0f7
[lhc/ateliers.git] / host / part-boot-format
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/host/lib.sh
4
5 mount | grep -q "^$vm_dev_disk_boot " ||
6 sudo mke2fs -t ext2 -c -c -m 5 -T small \
7 -E resize=1G${vm_e2fs_extended_options} \
8 -L ${vm_lvm_lv}_boot $vm_dev_disk_boot