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
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
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
Johannes
b1ec3fe271
dig package is dnsutils
2016-11-29 14:47:46 +01:00
Johannes
19bf130ccd
Ask on installation if the DNS is correctly setup
2016-11-29 14:47:46 +01:00
Johannes
32c14e0aa1
Support --api-server-origin in cloudron-setup
2016-11-29 14:47:46 +01:00
Johannes
eba03caa23
Change syntax to avoid shell warning
2016-11-25 15:16:41 +01:00
Johannes
61a41a10ce
Add apt-get update to cloudron-setup
...
This was reported to be needed on some providers
to be able to install curl
2016-11-25 14:26:38 +01:00
Johannes
00a4b7ba09
Fix typo: missing comma
...
Fixes #105
2016-11-20 20:44:03 +01:00
Johannes
51799f7f14
Only set backupConfig in setup when no restore key is provided
...
When a restore is performed, the backupConfig is part of the
backup. Otherwise provide a default file based config which
contains the encryption key
2016-11-20 18:17:55 +01:00
Johannes Zellner
a8ec9a4329
Ensure the server has curl installed
...
Fixes #103
2016-11-17 15:03:37 +01:00
Johannes
17ebc67d36
Set default backupConfig in cloudron-setup
...
If we provide the backup key we have to provide other values
to prevent having to perform value merging in settings.js
defaults
2016-11-13 13:37:38 +01:00
Johannes
4248776c16
Give details what encryption key is
2016-11-13 11:49:09 +01:00
Johannes
3e0d6f698e
Verify --provider string
2016-11-13 11:47:37 +01:00
Johannes
67e2589a15
Remove noisy '
2016-11-13 11:35:56 +01:00
Johannes
2398a515b5
Make --encryption-key mandatory
2016-11-13 11:34:02 +01:00
Johannes
ad83d805ac
Support supplying an encryption key during cloudron-setup
2016-11-13 11:20:50 +01:00
Johannes
4668e3a771
Rename box-setup to cloudron-system-setup
...
This shell script and the associated systemd service
are hooks to setup the system like swap and volumes
It is part of the base image
2016-11-06 14:30:26 +01:00
Johannes
a6824d8272
Ensure various scripts are run as root
2016-11-06 14:30:26 +01:00
Johannes
0eaeb67ba0
Run the box-setup init service
...
This ensures we have enough swap setup
2016-11-06 14:30:26 +01:00
Johannes
b40a9803a8
Adjust script paths for isntaller.sh movement
2016-11-06 14:30:26 +01:00
Johannes
16deb001bf
No more cloudron-installer to stop
2016-11-06 14:29:41 +01:00
Johannes
9768f8171c
Add possible provider 'digitalocean'
2016-10-28 11:21:58 +02:00
Girish Ramakrishnan
064c584b45
Make provider mandatory
2016-10-26 10:53:25 -07:00
Girish Ramakrishnan
3560af1b1e
Fix restore blob format
2016-10-25 14:34:48 -07:00
Girish Ramakrishnan
859d27522b
Use -q causes the pipe to fail and script aborts
2016-10-25 14:01:40 -07:00
Girish Ramakrishnan
9c90f88af4
Add --help
2016-10-25 13:34:12 -07:00
Girish Ramakrishnan
8142ad3989
Fix various bugs
2016-10-25 13:15:19 -07:00
Girish Ramakrishnan
984c506c81
hard to center the semver
2016-10-25 12:57:24 -07:00