Commit Graph

1264 Commits

Author SHA1 Message Date
Bob Mottram 83604998da Bump hubzilla version to 1.0 2015-12-04 09:38:35 +00:00
Bob Mottram f9d31dbdbb Interactive selection of language 2015-12-03 15:27:14 +00:00
Bob Mottram f5979fcd7a All locales 2015-12-03 15:06:12 +00:00
Bob Mottram 142103b32d Tidying 2015-12-03 14:52:31 +00:00
Bob Mottram 69225e70c4 Media menu on control panel 2015-12-03 14:51:18 +00:00
Bob Mottram 6a56893b47 Remove default user after installation 2015-12-03 14:40:38 +00:00
Bob Mottram 6c1530acf6 The micro wouldn't be powerful enough to run the system 2015-12-03 12:13:06 +00:00
Bob Mottram 0b3d103da8 Default language 2015-12-02 20:25:48 +00:00
Bob Mottram 6f15c0a703 List ports to be forwarded 2015-12-02 20:17:03 +00:00
Bob Mottram af4c434ed1 Mailbox install message 2015-12-02 20:03:52 +00:00
Bob Mottram a58766dc10 Add new user to sudoers and remove generic image user from sudoers 2015-12-02 17:37:48 +00:00
Bob Mottram a860fb6129 Change the password of the new user 2015-12-02 17:30:44 +00:00
Bob Mottram c271512ef4 Note on inadyn version 2015-12-02 16:38:53 +00:00
Bob Mottram 8614f4b683 Change locations for configuring locales 2015-12-02 16:19:03 +00:00
Bob Mottram 1a98910b82 Message after install 2015-12-02 15:57:32 +00:00
Bob Mottram 9b126e90f0 Deprecate the prep command 2015-12-02 15:24:58 +00:00
Bob Mottram 8ad0b9dbe5 Use fast DH params when creating certs
Otherwise installation on low power systems takes way too long
2015-12-02 15:07:20 +00:00
Bob Mottram 009b47f498 Configure locales before interactive install 2015-12-02 15:05:18 +00:00
Bob Mottram e7b6f13e9b Setting language 2015-12-02 14:33:56 +00:00
Bob Mottram 6351c14a95 Default user on generic images 2015-12-02 11:35:53 +00:00
Bob Mottram e43611da50 Try to avoid user interaction on installing tripwire 2015-12-02 11:27:25 +00:00
Bob Mottram 56a5852d8d Make fast calculation of DH params optional 2015-12-02 11:03:20 +00:00
Bob Mottram 516519ba07 Command for calculating DH params
Avoid duplication
2015-12-02 10:58:35 +00:00
Bob Mottram 736ce5e2fb Check on dhparam creation 2015-12-02 08:31:18 +00:00
Bob Mottram 884a1cb2ed quotes 2015-12-01 23:15:42 +00:00
Bob Mottram 583f06a72c mv 2015-12-01 21:51:20 +00:00
Bob Mottram 51b01f6fce Update before continuing install 2015-12-01 20:52:27 +00:00
Bob Mottram 3f1c8b4263 Quotes 2015-12-01 20:18:36 +00:00
Bob Mottram bfbf93eab0 slash 2015-12-01 20:02:45 +00:00
Bob Mottram 4046c61eb5 Copy rather than move 2015-12-01 20:00:02 +00:00
Bob Mottram 47b1e68c8e Peg zeronet forum to a commit 2015-12-01 17:54:42 +00:00
Bob Mottram f1b38ac5fc Peg zeronet blog to a commit 2015-12-01 17:46:06 +00:00
Bob Mottram 2c7bca82b6 Peg nginx-ensite to a commit 2015-12-01 17:27:01 +00:00
Bob Mottram cf35e77606 Peg cleanup-maildir to a given commit 2015-12-01 17:11:55 +00:00
Bob Mottram d19c44ac89 Support for other A20 boards 2015-12-01 16:59:50 +00:00
Bob Mottram 6fd4d2b084 Deprecate backup of github projects
Since gogs can do that
2015-12-01 15:01:34 +00:00
Bob Mottram 192fc6a0e6 Making, installing and uninstalling translations 2015-12-01 14:38:37 +00:00
Bob Mottram ebdd076214 Tidying 2015-12-01 14:19:24 +00:00
Bob Mottram 19ee1b87c3 Tidying 2015-12-01 14:13:23 +00:00
Bob Mottram 1a3110b32c Move if files exist 2015-12-01 12:31:49 +00:00
Bob Mottram a68443cc8c DDNS login details 2015-12-01 09:49:03 +00:00
Bob Mottram 1869a09ebf Check for a valid name 2015-12-01 09:25:05 +00:00
Bob Mottram 7b6ef9755f Project name 2015-12-01 08:32:30 +00:00
Bob Mottram caf1f53dd2 Reduce the calculation time for dhparams
Otherwise it just takes too long on the beaglebone
2015-11-30 22:20:22 +00:00
Bob Mottram 83d4d6a871 Move the upgrade script out of the main command
This allows the upgrade script itself to potentially be upgradable
2015-11-30 17:52:39 +00:00
Bob Mottram 54602b4b2e More translation strings 2015-11-30 17:44:36 +00:00
Bob Mottram 289b8862b4 For simplicity images are generic by default 2015-11-30 17:15:17 +00:00
Bob Mottram a64e26b998 If /dev/hwrng exists then set the hrng type accordingly 2015-11-30 16:12:48 +00:00
Bob Mottram f46e2358d7 Check for default usernames 2015-11-30 15:57:36 +00:00
Bob Mottram 48d3d3f2f2 Single user case 2015-11-30 15:56:07 +00:00
Bob Mottram f6eb49cffa Missing character 2015-11-30 15:47:28 +00:00
Bob Mottram e1d31d850d Minimal interactive install by default 2015-11-30 14:30:51 +00:00
Bob Mottram 3987268027 Minimise the number of decisions during interactive install 2015-11-30 14:25:09 +00:00
Bob Mottram 79f5759a08 Checking that gpg pubkey exists 2015-11-30 11:29:10 +00:00
Bob Mottram f98c57dd89 Improving gpg key creation 2015-11-30 11:14:11 +00:00
Bob Mottram 1bf712abc3 Use tlsdate from debian repos
The aforementioned bug should now be fixed
2015-11-29 22:17:30 +00:00
Bob Mottram 118077a77c Peg tlsdate to a specific commit 2015-11-29 22:04:36 +00:00
Bob Mottram c73b2b7650 Checkout not branch 2015-11-29 21:48:40 +00:00
Bob Mottram 072c64a7d2 Always allow avahi 2015-11-29 21:06:29 +00:00
Bob Mottram ef5c96fa81 Tidying 2015-11-29 19:57:01 +00:00
Bob Mottram eaaacdc434 No intermediate reboot 2015-11-29 19:54:19 +00:00
Bob Mottram bccc756e1e Peg zeronet to a given commit 2015-11-29 17:44:31 +00:00
Bob Mottram b62bda0ced inadyn settings 2015-11-29 17:15:02 +00:00
Bob Mottram 2e0919c0d6 Peg inadyn to a specific commit 2015-11-29 16:38:28 +00:00
Bob Mottram 0dfa5a608f Set the avahi hostname when making an image 2015-11-29 16:20:20 +00:00
Bob Mottram 54b3daf9d4 Default to no static local IP address, but have the option to set one 2015-11-29 15:28:12 +00:00
Bob Mottram 6227eb6f63 Install ntp in image 2015-11-29 15:00:10 +00:00
Bob Mottram b8d8036a3e Support manpages in image 2015-11-29 14:58:14 +00:00
Bob Mottram 758f507dfd Create a new user during image install 2015-11-29 14:54:30 +00:00
Bob Mottram 3eb0cfb21f Install nano for minimal editing capability 2015-11-29 14:32:36 +00:00
Bob Mottram 653d6f2dec Fixed username and password when generic images are created 2015-11-29 13:20:26 +00:00
Bob Mottram 39e2d67984 Show public and private gpg key filenames during install 2015-11-29 13:14:15 +00:00
Bob Mottram 970e3dfca1 Set the initial admin username 2015-11-29 12:11:18 +00:00
Bob Mottram 5e3efcc0e2 Comment 2015-11-29 11:34:57 +00:00
Bob Mottram 44f6375131 translation command names 2015-11-27 16:52:23 +00:00
Bob Mottram ef9fcb946d Preparing for international strings 2015-11-27 15:29:43 +00:00
Bob Mottram 2558225fb5 Beginning translation strings 2015-11-27 12:31:28 +00:00
Bob Mottram 6fc3017853 Prepare for translations 2015-11-27 11:42:16 +00:00
Bob Mottram bf2f9ca063 Tidying 2015-11-27 11:32:40 +00:00
Bob Mottram 0c4744efe4 Check for empty string 2015-11-27 08:12:04 +00:00
Bob Mottram 3bc378f2a2 Check for empty string 2015-11-27 08:09:36 +00:00
Bob Mottram ee8870fd7d Check that the date is sane 2015-11-26 22:40:09 +00:00
Bob Mottram ff3c8204a7 Upgrade certificates 2015-11-26 22:21:19 +00:00
Bob Mottram 873204bba6 Add ping command to image 2015-11-26 22:08:44 +00:00
Bob Mottram bc960182c1 Order of initial setup 2015-11-26 22:01:43 +00:00
Bob Mottram 94e6f86e54 Line length 2015-11-26 21:43:48 +00:00
Bob Mottram ad36c2a219 Don't remove initial ssh host keys - they will be regenerated during install 2015-11-26 20:32:00 +00:00
Bob Mottram 795f7750ab Tidying 2015-11-26 17:40:37 +00:00
Bob Mottram 07935f796a A20 packages 2015-11-26 17:35:54 +00:00
Bob Mottram cbd1f8a6bc Irrelevant comments 2015-11-26 17:30:56 +00:00
Bob Mottram 4955a7fe82 Unused file 2015-11-26 17:26:45 +00:00
Bob Mottram 06d88dc1f4 link 2015-11-26 17:15:58 +00:00
Bob Mottram c06899dcaa Some speculative changes to support cubieboard2 image builds 2015-11-26 16:36:10 +00:00
Bob Mottram 929df4f2d6 Drop the exit 2015-11-26 11:10:07 +00:00
Bob Mottram 1e4298f204 Don't copy the config file to itself 2015-11-26 11:03:34 +00:00
Bob Mottram f0ed04418f space 2015-11-26 10:58:09 +00:00
Bob Mottram f135528abf space 2015-11-26 10:55:16 +00:00
Bob Mottram f40cb8f8b3 Check for updates on the control panel 2015-11-26 10:53:54 +00:00
Bob Mottram 4e92dd8992 A new way of doing upgrades
This ensures that an upgrade occurs to a predictable set of commits
2015-11-26 09:46:20 +00:00
Bob Mottram 97109a89b2 Update the completion file if needed 2015-11-25 22:55:41 +00:00
Bob Mottram e069f941c5 Peg gpgit to a specific commit 2015-11-25 22:45:42 +00:00
Bob Mottram 147e8fff23 Peg ipfs to a specific commit 2015-11-25 22:34:26 +00:00
Bob Mottram 1d2a72451d Peg toxcore/toxic to a specific commit 2015-11-25 22:12:47 +00:00
Bob Mottram 041de6e0ad Peg cjdns to a particular commit 2015-11-25 19:28:18 +00:00
Bob Mottram e8df1c07c9 Peg gogs to a particular commit 2015-11-25 17:13:01 +00:00
Bob Mottram 79c26dcffc Peg the blog to a particular commit 2015-11-25 16:59:48 +00:00
Bob Mottram 2a88ddc412 Peg gnusocial to a particular commit 2015-11-25 16:12:16 +00:00
Bob Mottram 5081d46d5a Improve post image creation instructions 2015-11-25 14:04:48 +00:00
Bob Mottram 4d61630fb4 Instructions after image build 2015-11-25 11:43:57 +00:00
Bob Mottram c539cb2cf4 Dependencies 2015-11-25 09:51:35 +00:00
Bob Mottram b88f433a8e Password in large letters 2015-11-24 16:54:43 +00:00
Bob Mottram 2fb0ed4bd9 Check if installation was started before deleting initial files 2015-11-24 15:47:24 +00:00
Bob Mottram 8d93575caf Don't create an empty completion file 2015-11-24 15:34:45 +00:00
Bob Mottram cba4e8ab8b Tidying 2015-11-24 14:56:44 +00:00
Bob Mottram d6d00373bc Avoid carriage return 2015-11-24 14:14:07 +00:00
Bob Mottram 0406b5543d Saving the generated password 2015-11-24 12:08:55 +00:00
Bob Mottram 26a61c49ec Use global image password if it is available 2015-11-24 11:05:35 +00:00
Bob Mottram af1f72a7a4 Show generated password using dialog 2015-11-24 10:51:48 +00:00
Bob Mottram 49593d8436 Entropy check before password generation 2015-11-24 10:22:55 +00:00
Bob Mottram a8bd4680e8 Check for make failure 2015-11-24 09:37:53 +00:00
Bob Mottram 4789e66625 Expected extensions 2015-11-24 09:17:05 +00:00
Bob Mottram 11ea8d45a7 Password file 2015-11-23 22:27:32 +00:00
Bob Mottram 0b0e2c85c7 clear 2015-11-23 22:19:17 +00:00
Bob Mottram f010abb159 Rearrange initial setup 2015-11-23 22:03:17 +00:00
Bob Mottram 961cf68f58 chown 2015-11-23 21:14:12 +00:00
Bob Mottram 304eabc52f Improving initial login to generic image 2015-11-23 20:43:43 +00:00
Bob Mottram e8f4133bc4 echo to the right script 2015-11-23 17:47:53 +00:00
Bob Mottram 8c7929e4b0 rootdir 2015-11-23 17:08:31 +00:00
Bob Mottram 4ede9b7028 Path correction 2015-11-23 16:36:03 +00:00
Bob Mottram ace1114013 Don't initially change network settings for generic image 2015-11-23 16:30:31 +00:00
Bob Mottram 4202582083 touch 2015-11-23 16:08:59 +00:00
Bob Mottram 2294979689 Random initial image password 2015-11-23 15:04:05 +00:00
Bob Mottram a4aca5ddbc Generate a random initial password for images 2015-11-23 14:24:31 +00:00
Bob Mottram 972d4546ff Install avahi on image 2015-11-23 14:06:19 +00:00
Bob Mottram ec1c284069 Two stage initial setup for generic images 2015-11-23 12:04:37 +00:00
Bob Mottram 9b3263767c Missing rootdir 2015-11-23 11:26:04 +00:00
Bob Mottram 30b7745896 sudo 2015-11-23 11:16:04 +00:00
Bob Mottram ae7169e88f Generic image setup 2015-11-23 10:33:45 +00:00
Bob Mottram fb676a24fa qemu x86_64 2015-11-23 08:29:49 +00:00
Bob Mottram 1ac5bfe548 qemu support 2015-11-22 22:52:59 +00:00
Bob Mottram 049808981e More helpful motd 2015-11-22 13:52:42 +00:00
Bob Mottram 14e95ca957 Ensure that the admin user can initially sudo 2015-11-22 13:43:23 +00:00
Bob Mottram 4d3371694a Tidying 2015-11-22 13:07:48 +00:00
Bob Mottram 3baf2c686d show vdi 2015-11-22 12:11:15 +00:00
Bob Mottram abee5570ed header 2015-11-22 12:00:52 +00:00
Bob Mottram d5fb8076ba functions 2015-11-22 11:12:38 +00:00
Bob Mottram b83fe5aa24 functions 2015-11-22 11:05:24 +00:00
Bob Mottram 3421108c6c Backup and restore any user config files 2015-11-22 10:59:07 +00:00
Bob Mottram bda3303a4d Toxic dependencies 2015-11-22 10:43:30 +00:00
Bob Mottram 9a804ab375 Make more similar to the way freedom-maker applies vmdebootstrap patches 2015-11-22 10:36:11 +00:00
Bob Mottram bff65b86d1 Tidying 2015-11-21 23:27:17 +00:00
Bob Mottram 4463d10467 vdi 2015-11-21 22:58:29 +00:00
Bob Mottram 17050ada7f Export to virtualbox format 2015-11-21 20:41:58 +00:00
Bob Mottram 89c1a4201b Shutdown and restart on control panel 2015-11-21 20:01:53 +00:00
Bob Mottram 63e4c2a06c Current directory 2015-11-21 17:47:47 +00:00
Bob Mottram 4fe7bace66 Network interfaces 2015-11-21 16:13:28 +00:00
Bob Mottram 48b8940d54 Ensure that the expected port is used 2015-11-21 15:47:44 +00:00
Bob Mottram bbac58020a Image creation interactive mode 2015-11-21 15:44:59 +00:00
Bob Mottram cc6dff68ed Option to use an ssh pubkey during image creation 2015-11-21 14:33:39 +00:00
Bob Mottram df1c11802d Check password length 2015-11-21 14:11:42 +00:00
Bob Mottram 47b1a8c6cc Ensure that openssh-server is installed 2015-11-21 13:49:00 +00:00
Bob Mottram ca417ad491 Since hrng enable and ssh host key generation is done with the image builder we no longer need the reboot 2015-11-21 13:46:46 +00:00
Bob Mottram 432814e973 Configurable image size 2015-11-21 13:16:49 +00:00
Bob Mottram 6a2019dfc9 Tidying 2015-11-21 13:12:31 +00:00
Bob Mottram d3414046a8 Set config filename in temporary script 2015-11-21 12:59:19 +00:00
Bob Mottram 0cb73cc095 Generate a random initial password for the image
Fixed default passwords should be avoided
2015-11-21 12:23:46 +00:00
Bob Mottram 699c77122a If a configuration file is supplied then run it at the end of image generation 2015-11-21 11:56:40 +00:00
Bob Mottram 71503f2297 License headers 2015-11-21 11:25:32 +00:00
Bob Mottram 2f74d5865c Genericise in case the project name later changes 2015-11-21 11:21:56 +00:00
Bob Mottram 3239da7be5 Check if the image was created 2015-11-21 10:29:10 +00:00
Bob Mottram 5574fe2244 bash 2015-11-20 23:54:24 +00:00
Bob Mottram 0e3cc7e07a local 2015-11-20 21:50:54 +00:00
Bob Mottram 4fccf12c69 Improve the image command 2015-11-20 21:43:03 +00:00
Bob Mottram 3e88f85cc6 Set rootfs for debian image 2015-11-20 17:34:38 +00:00
Bob Mottram b254a5512b Rootfs 2015-11-20 17:26:33 +00:00
Bob Mottram a6ed6c0a12 Prep can use a given disk image 2015-11-20 17:19:00 +00:00
Bob Mottram 0f91280e28 Make a debian image
Based on freedom-maker with proprietary
stuff removed
2015-11-20 16:09:21 +00:00
Bob Mottram d81e4ee6b0 Initial idea for deploying an image 2015-11-20 11:54:39 +00:00
Bob Mottram f6358543fb More preparation for letsencrypt 2015-11-17 22:21:40 +00:00
Bob Mottram b30d4219fe Allow hubzilla to be pegged to a particular commit 2015-11-16 16:58:55 +00:00
Bob Mottram 1c6b926631 Delete ununsed log files 2015-11-16 13:28:17 +00:00
Bob Mottram 655a4184af Set log level 2015-11-16 12:05:07 +00:00
Bob Mottram b4358f195c Add hubzilla restore to the backup menu 2015-11-15 17:15:23 +00:00
Bob Mottram 3d6fcec14c Restore hubzilla script 2015-11-15 12:08:49 +00:00
Bob Mottram 7f2e900a42 Hubzilla menu 2015-11-15 12:05:58 +00:00
Bob Mottram 74b94e4f45 Script to restore only hubzilla 2015-11-15 11:58:19 +00:00
Bob Mottram e8c32454e2 Notify that logging changes take a while 2015-11-15 11:22:11 +00:00
Bob Mottram 374ed7874d owncloud in debian stable doesn't support removing users 2015-11-10 17:56:10 +00:00
Bob Mottram a5b7c7e7f4 But alas user:add isn't defined in the current owncloud version 2015-11-10 14:17:08 +00:00
Bob Mottram 32cc928c31 More graceful removal of user if there is a failure during adduser 2015-11-10 13:59:47 +00:00
Bob Mottram 702f28cf15 Adding owncloud users 2015-11-10 12:29:43 +00:00
Bob Mottram 236c65d70a Remove owncloud user 2015-11-10 12:20:55 +00:00
Bob Mottram 2e66e9039a last line 2015-11-06 16:20:37 +00:00
Bob Mottram c66c413383 Newline not needed 2015-11-06 16:02:41 +00:00
Bob Mottram 53740e6ebf Check disk usage before backup to usb 2015-11-06 15:59:16 +00:00
Bob Mottram cd2715de04 To friends 2015-11-06 15:29:04 +00:00
Bob Mottram 2123a17733 Forget after backup avoids errors 2015-11-05 11:54:17 +00:00
Bob Mottram 1708658c67 Indentation 2015-11-05 10:30:00 +00:00
Bob Mottram 4a56898660 obnam force lock 2015-11-05 10:07:52 +00:00
Bob Mottram a084b42346 phrase 2015-11-05 09:58:27 +00:00