Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Zweili 0aa36e9c7f refactor the format-disk script 2021-12-23 11:22:42 +01:00
Andreas Zweili aa7baf88ab log the LVM target 2021-12-20 19:20:39 +01:00
Andreas Zweili be8011dec5 add the last --script option 2021-12-20 16:58:20 +01:00
Andreas Zweili 78d9e7cd4f remove unused argument 2021-12-20 15:58:11 +01:00
Andreas Zweili 43f1a68936 add missing comma 2021-12-20 15:56:33 +01:00
Andreas Zweili 0a0797a4de use strings with parted 2021-12-20 15:55:27 +01:00
Andreas Zweili d8c1de19e7 remove duplicate print 2021-12-20 15:45:58 +01:00
Andreas Zweili faee1d933e add script option 2021-12-20 15:44:51 +01:00
Andreas Zweili 3c0b94bb55 first try for a parted fix 2021-12-20 15:42:58 +01:00
Andreas Zweili 490d402c3f add some log lines 2021-12-20 15:32:11 +01:00
Andreas Zweili a86fd43185 add partition table 2021-12-20 12:24:33 +01:00
Andreas Zweili 88e8bebe37 add a password prompt for luks 2021-12-20 10:41:11 +01:00
Andreas Zweili b0902cd334 refactor the format script a bit 2021-12-19 20:25:09 +01:00
Andreas Zweili ba210d5d6d fix a typo 2021-12-19 20:16:49 +01:00
Andreas Zweili 0dd3df4331 run cryptsetup in batch mode 2021-12-19 20:12:52 +01:00
Andreas Zweili 9a34894861 complete the format-disk script 2021-12-19 20:10:49 +01:00
Andreas Zweili 3ec32d711d add functions for boot and main partition 2021-12-19 19:33:19 +01:00
Andreas Zweili 2a8c4a2791 extend format_disk function 2021-12-19 19:15:51 +01:00
Andreas Zweili f51fd05547 add questsion for swap and encryption 2021-12-19 19:15:29 +01:00
Andreas Zweili 0c0cbd0714 add import 2021-12-19 19:15:01 +01:00
Andreas Zweili 0c14b063c9 add y_n function 2021-12-19 19:14:23 +01:00
Andreas Zweili 2e278d85bb add function to read RAM amount 2021-12-19 18:58:31 +01:00
Andreas Zweili aa98d610b0 extend the main function 2021-12-19 18:48:18 +01:00
Andreas Zweili faec2e08be always return int for the disk selection 2021-12-19 18:47:51 +01:00
Andreas Zweili 0a7d19e719 make funktions public 2021-12-19 18:47:36 +01:00
Andreas Zweili 1401ba72a6 add python script to format disks 2021-12-19 18:41:03 +01:00