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 |
Jeremy Gardais
|
69a11ff240
|
Add possibility to choose the version of Debian
|
2019-08-05 17:45:43 +02:00 |
Jeremy Gardais
|
33d25dba12
|
Add possibility to disable extra lv (backup, vz,…)
|
2019-08-05 15:12:14 +02:00 |
Jeremy Gardais
|
3468bce210
|
Try to lookup for hostname if the var is empty
|
2019-06-30 14:55:57 +02:00 |
Jeremy Gardais
|
189a1ff13a
|
Add btrfs support
|
2019-06-30 14:27:52 +02:00 |
Jeremy Gardais
|
ef1d5e6c5d
|
Add carriage return at each line of fstab…
|
2019-06-30 14:04:59 +02:00 |
Jeremy Gardais
|
19e5f007db
|
Install btrfs packages
|
2019-06-30 12:43:33 +02:00 |
Jeremy Gardais
|
d797c80bd8
|
Chroot: Simplify the creation of fstab file
|
2019-04-06 10:27:19 +02:00 |
Jeremy Gardais
|
f7e3d68b7e
|
Chroot: No longer need to create inodes
And small fixes (-y for apt or correct start for the second part).
|
2019-04-06 00:19:00 +02:00 |
Jeremy Gardais
|
f5d03149b3
|
Avoid to mount tmpfs before debootstrap
|
2019-04-05 23:52:17 +02:00 |
Jeremy Gardais
|
f90a1dee19
|
Chroot: Install some dep for debootstrap/chroot
|
2019-04-05 22:56:29 +02:00 |
Jeremy Gardais
|
a5cd62bf0a
|
Chroot: Just create /root/.ssh dir to copy keys
|
2019-04-05 17:43:42 +02:00 |
Jeremy Gardais
|
85275feeea
|
Chroot: Set the default system mount
|
2019-04-05 17:40:33 +02:00 |
Jeremy Gardais
|
fc69b8633f
|
Chroot: Ensure to remount device before run chroot
|
2019-04-05 17:25:38 +02:00 |
Jeremy Gardais
|
81700aed1b
|
Chroot: Fix sed command to keep at least a slash…
|
2019-04-05 17:24:56 +02:00 |
Jeremy Gardais
|
b873299c0e
|
Chroot: Fix the path of latecommand script
|
2019-04-05 17:24:22 +02:00 |
Jeremy Gardais
|
2f4d4c25d1
|
Chroot: Call a latecommand script to finish install
Set a correct rsyslog, logrotate,… configuration. I call the same script
at the end of all PXE install or for LXC templates.
|
2019-04-05 13:37:22 +02:00 |
Jeremy Gardais
|
521b7ea84a
|
Chroot: Now use a network unit for systemd-networkd
|
2019-04-05 13:36:52 +02:00 |
Jeremy Gardais
|
05a3de15ca
|
Chroot: ensure to have a mountpoint for the root…
|
2019-04-04 00:23:01 +02:00 |
Jeremy Gardais
|
8bac33afa1
|
Chroot: Define hostname and hosts
|
2019-04-03 23:57:28 +02:00 |
Jeremy Gardais
|
17a32b701d
|
Chroot: small fix for printf and create /root/.ssh
|
2019-04-03 23:44:53 +02:00 |
Jeremy Gardais
|
166253b508
|
Chroot: Fix mount of some tmpfs for chroot
And remove some useless tmpfs from fstab.
|
2019-04-03 23:17:58 +02:00 |
Jeremy Gardais
|
6583d32ddf
|
Chroot: Install kernel and grub
|
2019-04-03 23:13:44 +02:00 |
Jeremy Gardais
|
b8fff539b9
|
Chroot: Manage timezone
|
2019-04-03 23:13:29 +02:00 |
Jeremy Gardais
|
b057d1e3de
|
Chroot: generate locale(s)
|
2019-04-03 18:52:30 +02:00 |
Jeremy Gardais
|
75c1b6725b
|
Chroot: Add FDN dns
|
2019-04-03 18:45:17 +02:00 |
Jeremy Gardais
|
316a2ea748
|
Chroot: Generate interfaces network config
|
2019-04-03 18:38:37 +02:00 |