Lord Anton Hvornum
252af79e3d
* New feature: deployment structure can now import/include other templates (Included templates will be installed first, since we'll assume those are baselines/requirements for slimmer deploy-structs)
...
* Deployment scripts strings now supports python string formatting, if parameter or is given as options to each command-line (TODO: Add as a global parameter as well, and treat all strings as formatable)
* Added two templates: workstation + 00:11:22:33:44:55, a example of how to set up a workstation using a template and a custom addition. Also added a default template that is similar to the workstation but does everything in one template. They all use some awk magic to fix alt-tab in Awesome WM, it also creates a "desktop" environment and installs some useful tools and fixes the start menu in Awesome WM.
* Reordering mirrors is now a configurable option (Default turned off, to better suit offline environments)
* Disk/root password now configurable as either a fixed string, or ask for via STDIN (Syntax for now is: )
* deployment targets now a variable (todo: add a parameter/argument)
* SSL support (ignores certificate validation for now, I know this is bad, but until a parameter etc is in place, this has to be a nessecary evil for now)
* Cleaned up a lot of custom variables and baked them into so it's easier to format strings based off information gathered along the way (such as partition names).
* Error handling: Mostly for missing dependencies and situations, such as not booted in UEFI environment
2018-05-24 20:09:51 +02:00
Lord Anton Hvornum
0fbebe6207
Merge branch 'master' into net-deploy
2018-05-05 19:15:05 +02:00
Lord Anton Hvornum
ba09d311a2
Fixed: nvme-drive support fixed. parted gives partition numbers, not the actual labels of devices. Hence, parted is scrapped and lsblk is used to determain partition names/labels instead.
2018-05-05 19:13:48 +02:00
Lord Anton Hvornum
53bee19a99
More debugging
2018-04-13 06:54:22 +02:00
Lord Anton Hvornum
81df161ffc
Forgot to create the pdns user
2018-04-12 22:53:21 +02:00
Lord Anton Hvornum
c277b96345
Debugging
2018-04-12 22:34:08 +02:00
Lord Anton Hvornum
722dd9643c
Need new-line for locale-gen to read the file
2018-04-12 22:18:16 +02:00
Lord Anton Hvornum
1c1a3490dd
Missing syntax in locale.gen
2018-04-12 21:32:58 +02:00
Lord Anton Hvornum
adfe5599d1
Restructured the reboot step, added locale.conf
2018-04-12 21:17:33 +02:00
Lord Anton Hvornum
1e9e091a7e
Testing pre-steps
2018-04-11 23:21:16 +02:00
Lord Anton Hvornum
ef455894e3
Added debug output when options were given to the net-deploy command
2018-04-08 14:02:08 +02:00
Lord Anton Hvornum
16ff533c81
Improved sys exec to enable debug output via net deploy
2018-04-08 13:45:30 +02:00
Lord Anton Hvornum
dff83ac7b8
More debugging
2018-04-08 13:07:02 +02:00
Lord Anton Hvornum
456db37a90
Changed the JSON structure to be able to pass args via the network
2018-04-08 12:21:46 +02:00
Lord Anton Hvornum
e395962fe2
Fixed password change for custom user as well as hostname and locale gen.
2018-04-07 23:32:49 +02:00
Lord Anton Hvornum
82fe158552
Finalizing working net deploy
2018-04-07 23:15:32 +02:00
Lord Anton Hvornum
13a1c2ab3a
Verified a working network install, removing debugs
2018-04-07 22:48:14 +02:00
Lord Anton Hvornum
f975df7ec2
more debugging
2018-04-07 18:27:04 +02:00
Lord Anton Hvornum
11d782baa6
Wrong logical order on command failed logic
2018-04-07 18:09:59 +02:00
Lord Anton Hvornum
88f1f85bf4
Problem with the optional parameters in the post install script
2018-04-07 17:41:47 +02:00
Lord Anton Hvornum
d02aabbdfd
Further debugging
2018-04-07 17:24:29 +02:00
Lord Anton Hvornum
d5ba787943
Debugging
2018-04-07 17:09:10 +02:00
Lord Anton Hvornum
88b50f4dd3
Improving the sys exec function
2018-04-07 16:51:18 +02:00
Lord Anton Hvornum
8e22ac18d6
more debing
2018-04-07 16:28:11 +02:00
Lord Anton Hvornum
88dfcad86c
Debugging
2018-04-07 15:32:28 +02:00
Lord Anton Hvornum
c68152fb36
Fixed git fetch, hopefully
2018-04-07 15:15:31 +02:00
Lord Anton Hvornum
d1c0600ebf
print error
2018-04-07 14:35:51 +02:00
Lord Anton Hvornum
14ee4cdf8c
Changed git update command
2018-04-07 14:23:23 +02:00
Lord Anton Hvornum
17c810d897
more debug
2018-04-07 14:23:23 +02:00
Lord Anton Hvornum
9869d8d27d
Made sure commands are executed in order
2018-04-07 13:21:36 +02:00
Lord Anton Hvornum
20ba0b145c
Forgot to execute post-install inside arch-chroot
2018-04-07 10:48:33 +02:00
Lord Anton Hvornum
95b4d073ed
Modified the install command and debug output
2018-04-07 10:05:30 +02:00
Lord Anton Hvornum
828cca1beb
Added support for remote HTTPS instructions
2018-04-07 09:51:38 +02:00
Lord Anton Hvornum
0447d1cb40
Brought back automatic reboot. changing password doesn't work atm
2018-04-07 01:21:45 +02:00
Lord Anton Hvornum
1cc417628d
usermod isn't able to change the password for some reason. fallback solution
2018-04-07 01:08:30 +02:00
Lord Anton Hvornum
033ffca757
Output and debugging
2018-04-07 00:53:27 +02:00
Lord Anton Hvornum
8ff4867bc8
Should be looking for reboot, not the other way around
2018-04-07 00:48:15 +02:00
Lord Anton Hvornum
438e94f356
Added --post=reboot as a default option.
2018-04-07 00:41:01 +02:00
Lord Anton Hvornum
e48b84b4fb
git pull won't work in case of conflicts etc. Cheap way to solve it
2018-04-07 00:29:40 +02:00
Lord Anton Hvornum
332bb97a78
Gefunked the awk command
2018-04-07 00:21:11 +02:00
Lord Anton Hvornum
e25dea516f
blkid gives the wrong disk-UUID for LUKS to use, wtf?
2018-04-07 00:10:39 +02:00
Lord Anton Hvornum
29a46e2f62
Removed a comment
2018-04-06 23:55:53 +02:00
Lord Anton Hvornum
1d71483109
Misspelled a variable
2018-04-06 23:42:15 +02:00
Lord Anton Hvornum
a274b22d67
A typo and a missed parameter
2018-04-06 23:30:22 +02:00
Lord Anton Hvornum
56de90da09
Full install step
2018-04-06 23:18:36 +02:00
Lord Anton Hvornum
02a1ebb509
First baseline done
2018-04-06 21:14:41 +02:00
Anton Hvornum
7107e8866f
Update archinstall.py
2018-04-06 19:01:04 +02:00
Anton Hvornum
b88544d354
Placeholder
2018-04-06 18:08:25 +02:00