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
Girish Ramakrishnan
124c04167f
Verify box version the first thing
2016-10-25 12:55:41 -07:00
Girish Ramakrishnan
105b8e0aeb
suppress stderr output
2016-10-25 12:49:51 -07:00
Girish Ramakrishnan
a22591a89f
Handle download and install errors
2016-10-25 12:47:51 -07:00
Girish Ramakrishnan
c91464accc
Enable -e and handle init script error
2016-10-25 12:00:54 -07:00
Johannes
e4b7b9c9fb
Fix typo
2016-10-25 15:28:26 +02:00
Johannes
012fbe926f
Wait for the configure event to be received
2016-10-25 14:33:32 +02:00
Johannes
254e0ef8e1
Print information on how to follow logs in the setup script
2016-10-25 14:07:49 +02:00
Johannes
2e7cc4847e
the folder is called /var/log/ without s
2016-10-25 14:01:35 +02:00
Johannes
8cfc8bb893
Redirect init and installer script output to log file
2016-10-25 13:58:46 +02:00
Johannes
9adc6d2ba5
No more data subobject
2016-10-25 13:41:51 +02:00
Johannes
5539710a25
Explicitly specify npm bin
2016-10-25 13:27:31 +02:00