Commit Graph

97 Commits

Author SHA1 Message Date
Johannes Zellner 1764567e1f Make domain optional in cloudron-setup 2017-01-05 10:49:41 +01:00
Girish Ramakrishnan 792dfc731c Revert "Make virtualbox 20GB vdi work"
This reverts commit 67d840a1b3.

Change the docs for virtualbox for now to create a bigger VDI
2017-01-04 10:14:57 -08:00
Girish Ramakrishnan 591cc52944 Run initializeBaseImage script from the release tarball
Part of #165
2017-01-03 14:48:39 -08:00
Girish Ramakrishnan 67d840a1b3 Make virtualbox 20GB vdi work 2017-01-03 14:30:59 -08:00
Girish Ramakrishnan 8ffa951407 Clearly mark message as an error 2017-01-03 14:28:04 -08:00
Girish Ramakrishnan af39c2c7ae Replace cloudron-version with a python script
This will allow us to check version without node installed

Part of #165
2017-01-03 14:23:00 -08:00
Johannes Zellner ef1408fddb Remove unsed vars in cloudron-setup 2017-01-03 09:26:08 +01:00
Johannes Zellner 47ecb0e1cf Test minimum requirements before continue in cloudron-setup
Fixes #153
2017-01-02 18:03:28 +01:00
Girish Ramakrishnan cfad186a6b Highlight the reboot message little more 2016-12-30 15:20:27 -08:00
Girish Ramakrishnan 318ea04efc Set "version" to the resolved version in config.json 2016-12-30 13:12:22 -08:00
Johannes Zellner 9f0047478d Remove now unused dependency dnsutils 2016-12-30 17:26:39 +01:00
Johannes Zellner 591ef3271b Do not wait for apt, but skip install if we have a base image already 2016-12-30 17:25:23 +01:00
Johannes Zellner 9afbbde062 Actually this is about apt-get update for the mirror listing 2016-12-30 16:29:29 +01:00
Johannes Zellner 73e6e519a3 Wait for apt to finish before proceeding with cloudron-setup 2016-12-30 16:08:06 +01:00
Johannes Zellner 49d70f487e show dots at the end in cloudron-setup log lines 2016-12-30 11:35:03 +01:00
Girish Ramakrishnan 2ddb533ef2 remove redundant permission change 2016-12-28 09:54:30 -08:00
Girish Ramakrishnan 36a6e02269 remove unused variable 2016-12-28 09:49:18 -08:00
Girish Ramakrishnan 6fbbf0ad61 Use curl with options 2016-12-28 09:49:04 -08:00
Girish Ramakrishnan 1040fbddc6 Improve data-file handling 2016-12-28 09:46:04 -08:00
Girish Ramakrishnan 905bdb1d27 only reboot if base image script was called 2016-12-28 08:59:25 -08:00
Girish Ramakrishnan 745b7a26b7 validate arguments only if data is not provided 2016-12-28 08:59:24 -08:00
Girish Ramakrishnan 7873fdc7bb typo 2016-12-28 08:59:23 -08:00
Girish Ramakrishnan 76435460f0 redirect error 2016-12-28 08:59:20 -08:00
Girish Ramakrishnan 7e3a54ff1b force the link for idempotency 2016-12-28 08:59:15 -08:00
Girish Ramakrishnan 61789e3fda Use the installer.sh from the source tarball
This redesigns how update works. installer.sh now rebuild the package,
stops the old code and starts the new code. Importantly, it does not
download the new package, this is left to the caller. cloudron-setup
downloads the code and calls installer.sh of the downloaded code.
Same goes for updater.sh. This means that installer.sh itself is now
easily updatable.

Part of #152
2016-12-28 08:59:07 -08:00
Girish Ramakrishnan 441c5fe534 Add --data to pass raw data
This will be used by CaaS
2016-12-28 08:58:54 -08:00
Girish Ramakrishnan f30001d98b Add option to skip the base image init
This will be used for CaaS

Part of #152
2016-12-28 08:58:48 -08:00
Girish Ramakrishnan fae0ba5678 Decouple installer from the base image script
This means that the base image does not have the installer anymore
and needs to be copied over.

Part of #152
2016-12-28 08:58:10 -08:00
Girish Ramakrishnan f5eb5d545f use node 6.9.2 LTS 2016-12-28 08:57:43 -08:00
Girish Ramakrishnan 4a99eb105a cloudron-system-setup does not need to be run
we reboot anyway and the service is run on startup
2016-12-28 08:46:40 -08:00
Girish Ramakrishnan c5ca64af50 cloudron-version is cloudron-setup specific 2016-12-28 08:46:40 -08:00
Girish Ramakrishnan 984b920fde Use 0.92.1 2016-12-27 22:39:53 -08:00
Girish Ramakrishnan eeefdf5927 Add link to chat 2016-12-22 13:28:04 -08:00
Girish Ramakrishnan 29c172deab Switch to master again for DO fix 2016-12-22 13:27:05 -08:00
Girish Ramakrishnan 3a3edc4617 Use version 0.92.0 2016-12-21 18:20:06 -08:00
Girish Ramakrishnan 3d4e3638be Only check for platformReady prefix 2016-12-21 15:13:51 -08:00
Girish Ramakrishnan 6e87111c99 Pin cloudron-setup
Required for preparing for the next upgrade release
2016-12-21 14:35:08 -08:00
Girish Ramakrishnan ad3594eebc Waiting for cloudron also takes some time 2016-12-20 11:56:18 -08:00
Girish Ramakrishnan d672b1e3f6 Make encryption key optional 2016-12-19 12:33:52 -08:00
Johannes Zellner 37d146a683 Reboot the server after installation
This solves two issues:
* activate bootloader settings
* ensure the yellowtent user can view journald logs
2016-12-19 12:06:22 +01:00
Johannes Zellner b95808be54 Move AWS env var checks to upload section 2016-12-19 09:43:08 +01:00
Johannes Zellner 293d4b4a47 Remove unused --publish argument 2016-12-16 18:05:59 +01:00
Girish Ramakrishnan e58068688c Add dns-provider to arg list 2016-12-15 07:41:09 -08:00
Girish Ramakrishnan 9a51feed0a Add --dns-provider argument
Maybe someday we can set other providers like route53 etc here
2016-12-15 07:35:56 -08:00
Girish Ramakrishnan 9ac8cc2cd7 Do not override the tls config provider when restoring 2016-12-15 07:32:10 -08:00
Girish Ramakrishnan 3277cfdc6b Remove IP detection logic
This code was here to check if user will get an admin certificate.
It doesn't work well for intranet cloudron's. The check is also not
complete since just DNS is not enough for LE to succeed, we also
require port forwarding.
2016-12-14 19:19:00 -08:00
Johannes Zellner e83cb0fb3c Add missing comma 2016-12-05 22:36:55 +01:00
Johannes Zellner b1be65d9ce Add fallback certificate backend 2016-12-05 17:01:23 +01:00
Johannes a2afadfe92 Actually exit if the user answer is negative 2016-11-29 14:47:46 +01:00
Johannes 0c76cee737 Check if any ip was found 2016-11-29 14:47:46 +01:00