Commit Graph

108 Commits

Author SHA1 Message Date
Jeremy Gardais bd3c2de8a4
Get /boot part number 2023-07-01 17:11:06 +02:00
Jeremy Gardais 23328640e8
Remove free if exists 2023-07-01 17:04:46 +02:00
Jeremy Gardais c14cc7a7a1
Fix removal of mountpoint 2023-06-28 11:12:52 +02:00
Jeremy Gardais 30ffe704a3
Fix umount/remove of LV free 2023-06-28 10:55:55 +02:00
Jeremy Gardais 064ac3b851
Add purpose, flags and return value 2023-06-26 16:47:13 +02:00
Jeremy Gardais 15453a7972
Test new post-install script for OVH template 2023-06-26 16:39:42 +02:00
Jeremy Gardais 2b1316d275
Symlink bat to /usr/bin/batcat 2022-04-10 17:27:59 +02:00
Jeremy Gardais 19418e59a1
Mount LV root only if exists 2022-03-03 09:31:09 +01:00
Jeremy Gardais 914a883150
Install recent version of debootstrap and keyring 2021-12-10 21:10:22 +01:00
Jeremy Gardais a0d3b1a5b0
Script to wipe hdds content 2021-12-10 14:36:13 +01:00
Jeremy Gardais 0fdd709c4a
Now install Debian Bullseye 2021-12-10 14:35:58 +01:00
Jeremy Gardais d0fcbe5318
Install btrfs on host 2021-07-22 19:00:40 +02:00
Jeremy Gardais 319f290ec9
Ensure to remove old unified kernels 2021-01-11 15:31:36 +01:00
Jeremy Gardais cca39f920d
No longer copy default kernel and initrd 2021-01-08 11:04:14 +01:00
Jeremy Gardais a09ca66ac9
Add informations about what is done 2021-01-08 11:02:41 +01:00
Jeremy Gardais 951faedbb4
Rename to allow /etc/kernel/post*.d runs 2020-12-16 07:22:17 +01:00
Jeremy Gardais 654b2baef5
Script to create EFI blob with initrd and kernel 2020-12-16 07:17:24 +01:00
Jeremy Gardais e83dbad0d4
Use GPT as default partition table 2020-12-15 16:42:46 +01:00
Jeremy Gardais 650f9369a0
Add sleep 2 after parted command 2020-12-15 16:05:12 +01:00
Jeremy Gardais ff958d5b56
Ensure to install LVM thin provisionning tool 2020-12-14 18:04:02 +01:00
Jeremy Gardais 8306a9c454
Manage crypttab only if LUKS is present 2020-12-14 12:41:08 +01:00
Jeremy Gardais a1bee64ed5
Update ramfs with chroot... 2020-12-14 12:36:17 +01:00
Jeremy Gardais 265c4f8110
Move LVM management to manage_part if/else test 2020-12-14 12:34:30 +01:00
Jeremy Gardais 68807f7e60
Script to create (partition, mount,...) EFI device 2020-12-11 15:07:25 +01:00
Jeremy Gardais db305d20a2
Manage partition according to grub 2020-12-10 22:26:44 +01:00
Jeremy Gardais e8900c1aec
Add possibility to skip grub installation 2020-12-10 19:55:58 +01:00
Jeremy Gardais e92a49aca3
Ensure to use plain64 for Luks cipher 2020-10-22 17:06:29 +02:00
Jeremy Gardais 69c1c68661
Add script to umount chroot related devices 2020-10-21 15:32:55 +02:00
Jeremy Gardais 459c9fb8aa
Ensure to enable all LVM devices 2020-10-21 14:17:58 +02:00
Jeremy Gardais c9473c6cdf
Add debug_message func 2020-10-21 13:20:48 +02:00
Jeremy Gardais 2216fdba5d
Ensure to write the correct crypttab file…
And disable Luks by default.
2020-10-21 09:51:12 +02:00
Jeremy Gardais 637d61b44f
Remove "target" occurences in future fstab file 2020-10-21 09:37:22 +02:00
Jeremy Gardais e8951c437b
Add luks device to crypttab and rebuild initramfs 2020-10-21 09:28:31 +02:00
Jeremy Gardais 3f7ba24040
Remove line break in luks keyfile 2020-10-21 09:20:55 +02:00
Jeremy Gardais 2e43d4f855
Test if Luks is available and try to open it 2020-10-21 09:19:55 +02:00
Jeremy Gardais 5344598918
Update the list of dependencies to install 2020-10-21 09:19:27 +02:00
Jeremy Gardais f7d9fbed3c
Ensure to mount /boot even for BTRFS filesystem 2020-10-19 19:07:13 +02:00
Jeremy Gardais f008dd25e3
Install some dependencies 2020-10-19 18:38:07 +02:00
Jeremy Gardais ebdd32854c
Detect BTRFS filesystem 2020-10-19 18:37:48 +02:00
Jeremy Gardais 97c530fc70
Try to guess the VG name 2020-10-19 18:25:36 +02:00
Jeremy Gardais 2596c370a3
Use UUID instead of device path for boot partition 2020-10-19 18:12:45 +02:00
Jeremy Gardais a58cff12bd
Fix fstab for btrfs filesystem 2020-10-19 18:12:22 +02:00
Jeremy Gardais 695012520f
Exit if some basics commands fails 2020-10-19 17:34:28 +02:00
Jeremy Gardais 035d1eb2a6
Add LUKS management 2020-10-19 17:34:04 +02:00
Jeremy Gardais 89dbeeb59d
Exit on failed parted commands 2020-10-19 16:24:30 +02:00
Jeremy Gardais eaae3c32ab
Set specific vgname to avoid collision if reused 2019-11-23 12:16:29 +01:00
Jeremy Gardais 656c9c3ba0
Fix udev+lvm issue on Debian Buster 2019-09-02 16:10:16 +02:00
Jeremy Gardais 5d10e94a83
Now install Buster 2019-09-01 10:58:37 +02:00
Jeremy Gardais 80e909a9c7
Exit on some commands failure 2019-08-06 13:30:18 +02:00
Jeremy Gardais c21f384320
btrfs-progs now full replace btrfs-tools 2019-08-06 13:27:53 +02:00