Commit Graph

79 Commits

Author SHA1 Message Date
oddlama 6f25eae015
Use wipefs before creating partitions or formatting 2021-06-01 02:50:08 +02:00
oddlama ed602bf3e7
Break after pw ok 2021-05-31 20:21:41 +02:00
oddlama 303087aeaf
Fix reading encryption keys beginning with whitespace 2021-05-31 20:15:33 +02:00
oddlama b110b4e5dd
Visual linebreak after reading password 2021-05-31 17:27:13 +02:00
oddlama 7c9d001a20
Fix reverse condition in check_encryption_key 2021-05-31 17:25:08 +02:00
oddlama 0f0463ac15
First load disk_configuration then check for encryption key 2021-05-31 17:23:55 +02:00
oddlama 68a128153c
Read encryption key when starting installation if not given otherwise;
Clarify readme
2021-05-31 17:12:19 +02:00
oddlama 5c1d81d650
Exec chroot 2021-05-30 22:52:28 +02:00
oddlama 4d276dbc6c
Don't add fstab entry for zfs 2021-05-30 22:39:41 +02:00
oddlama 86e4a32fd0
Remove exec from chroot to allow post-chroot unmount 2021-05-30 03:15:06 +02:00
oddlama 45636bb82d
Allow "false" value for chroot check to mean not in chroot 2021-05-30 03:03:04 +02:00
oddlama ba60924bbc
Fix unset variable access when checking chroot 2021-05-30 03:00:29 +02:00
oddlama 4fac67ebdb
Use correct zfs mountpoint 2021-05-30 02:56:53 +02:00
oddlama 5288f58b72
Remove mountpoint from rpool/ROOT 2021-05-30 02:51:51 +02:00
oddlama 6f702f578f
Forgot line escape 2021-05-30 02:46:07 +02:00
oddlama c6d037f95f
Create rpool/ROOT dataset automatically, and supply password
automatically.
2021-05-30 02:44:26 +02:00
oddlama bae9e41741
Default for disk_action_summarize_only 2021-05-30 02:37:18 +02:00
oddlama a20e50f117
Use ntp package instead of openntpd on arch; Fix set -u in dynamic case labels 2021-05-30 02:33:45 +02:00
oddlama f03f4a99ab
add program check debug 2021-05-29 22:23:18 +02:00
oddlama a6023eba13
Apply disk configuration function in installer 2021-05-29 22:18:39 +02:00
oddlama 401e427b8e
Ask to install missing programs 2021-05-29 22:14:46 +02:00
oddlama a5cfe872a3
Added zfs pool creation 2021-05-27 20:35:28 +02:00
oddlama d229d5bdea
Set LANG on systemd profile 2021-05-02 15:35:20 +02:00
oddlama 6daa319c17
Use encryption key from environment variable; Adjust default ssh config; Remove ansible integration in favor of neutral installation 2021-05-02 15:29:56 +02:00
oddlama 09b920d6d4
Add some unnecessary checks to satisfy shellcheck 2021-04-28 16:06:52 +02:00
oddlama 9ebdbfe8a1
Prepare zfs functions (format is currently a dummy) 2021-04-28 14:56:38 +02:00
oddlama a7225d68a5
Update readme wording 2021-04-19 20:33:47 +02:00
oddlama 375825c1e8
Fix wrong partition types 2020-10-29 01:19:45 +01:00
oddlama a59090ab9d
Install btrfs-progs and omit systemd in dracut because it fails (surprise lol) 2020-10-11 21:45:26 +02:00
oddlama 19b4f1d80c
Added systemd's version of enabling services 2020-10-10 17:08:54 +02:00
oddlama fdbc6fb3aa
cache lsblk output 2020-10-08 22:16:26 +02:00
oddlama e1fc6cf9eb
Fixed old use of $id in disk_create_luks 2020-10-03 19:10:54 +02:00
oddlama 6859a384f6
Print directly used devices 2020-10-03 17:59:45 +02:00
oddlama 64251a3d31
WIP: Implement btrfs raid layout 2020-10-03 16:32:14 +02:00
oddlama 19c030c4b2
Implement btrfs 2020-10-01 15:46:51 +02:00
oddlama b5b82edd4d
Removed RESOLVABLE_MAP_DIR 2020-04-25 15:30:29 +02:00
oddlama 2b323d0c0d
Removed need to save resolve entries altogether; WIP: Dracut integration 2020-04-24 23:02:00 +02:00
oddlama 21ff831af0
install mdadm on chrooted system when raid is used 2020-04-23 23:56:53 +02:00
oddlama b1c4d9d40e
Removed need for internally stored id->device map 2020-04-23 23:15:41 +02:00
oddlama 048b39ffe0
Fixed bug in map saving 2020-04-23 22:31:18 +02:00
oddlama f40334f9be
Manually save and restore mapped ids and devices 2020-04-23 17:42:23 +02:00
oddlama 2274c3f7c2
Added disk resolvable saving and loading 2020-04-23 17:32:36 +02:00
oddlama 00cf2ce260
global DISK_ID_TO_RESOLVABLE 2020-04-23 16:53:31 +02:00
oddlama ff31e4f1b3
Added overwriting for luks header backups 2020-04-23 16:25:34 +02:00
oddlama 88ad973072
Replaced old PARTITION_UUID variables with new disk id system 2020-04-22 23:48:36 +02:00
oddlama 486d22db79
Added luks creation with keyfile support 2020-04-22 23:08:11 +02:00
oddlama 8a0f83b4e9
Fixed missing device resolve on formatting 2020-04-22 12:28:47 +02:00
oddlama 3f80df8695
Fixed wrong error messages 2020-04-21 23:45:55 +02:00
oddlama d203dfc6c3
Made mdadm uuids discoverable 2020-04-21 23:41:27 +02:00
oddlama cfcefae1ec
Fixed mdadm invocation, added raid names 2020-04-21 23:29:06 +02:00