15 Commits
Author SHA1 Message Date
Jason Hee 6fc75796a3 Add support for 22.04 (#16)
* Add Vagrantfile for Jammy

* Fix configuration of NTP for Jammy

* Update setup text to be more accurate

* Update README
2022-04-18 04:57:03 +08:00
Jason HeeandBreakSecurity 7beaeed0cd Enables one to run setup without creating a new user by using a second non-root account (#15)
* Enable one to choose to use an existing second non-root account for configuring the server.

* Current user by def

* Changed default TimeZone and added a more secure ssh key derivation
method according to https://blog.peterruppel.de/ed25519-for-ssh/

* Refactor setup scripts

Co-authored-by: BreakSecurity <[email protected]>
2022-04-18 04:49:00 +08:00
Jason Hee 153087929c Remove the need for prompting the user for a password (#12)
Relates to issue #9
2021-08-15 21:47:26 +08:00
Jason Hee febdd604b5 Fixed bug with saving swap settings 2016-12-07 16:49:42 +08:00
Jason Hee b1cddca7ed Refactored setup script
- Put main logic into the main function
- Password prompting from user is isolated into the promptForPassword function
2016-12-06 14:03:11 +08:00
Jason Hee 1e31d3f823 Added prompting of server timezone
- User can now specify the timezone of the server rather than needing to set it via editing the bash script
2016-12-05 20:10:53 +08:00
Jason Hee 69b536300d Refactored code based on shellcheck 2016-12-05 15:28:09 +08:00
Jason Hee 13927cd311 Modified logging function 2016-12-01 19:15:12 +08:00
Jason Hee 81d5636078 Redirect setup output to log file 2016-12-01 17:48:40 +08:00
Jason Hee 0c80eb4811 Added setup cleanup functions 2016-12-01 13:00:35 +08:00
Jason Hee f759b39cd0 Added NTP configuration 2016-11-29 01:37:19 +08:00
Jason Hee a82bf4ff21 Added swap settings 2016-11-29 00:06:11 +08:00
Jason Hee 9ef673594e Added sshd_config modifications 2016-11-27 23:36:01 +08:00
Jason Hee 841312963c Added functionality to add ssh key 2016-11-24 01:26:46 +08:00
Jason Hee 003357b848 Initial Commit 2016-11-24 00:05:36 +08:00