Johannes Zellner
a8d08bca3f
Merge branch 'master' of ssh://gitlab.smartserver.io:6000/yellowtent/cloudron-installer
2016-01-11 12:53:52 +01:00
Johannes Zellner
d7ddc56ab3
Not applicable for ubuntu 15.10
2016-01-11 11:15:04 +01:00
Johannes Zellner
b562cd5c73
Fix typo when specifying the provisionEnv environment var
2016-01-08 13:15:07 +01:00
Johannes Zellner
2549a41eb3
Add a valid hostname entry in /etc/hosts if not found
...
Using 127.0.1.1 as per http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
2016-01-06 16:52:02 +01:00
Johannes Zellner
464f0fc231
add some unit tests for ensureVersion
2016-01-06 16:02:42 +01:00
Johannes Zellner
5914fd9fb7
Return the whole object, not just the string
2016-01-06 14:52:21 +01:00
Johannes Zellner
2e03217551
Make sysinfo provider selection explicit
2016-01-06 14:34:23 +01:00
Johannes Zellner
e0dc974f87
Add provider argument
2016-01-06 10:52:35 +01:00
Girish Ramakrishnan
fdf1ed829d
Revert "use 15.10 as base image"
...
This reverts commit 50807f3046fdf715cb3bf2afc08436f64995f36a.
15.10 requires more work
2016-01-05 20:32:09 -08:00
Girish Ramakrishnan
ba90490ad9
Simply remove the old sudoers file that we installed
...
This is alternate fix to 743b8e757b
2016-01-05 20:24:05 -08:00
Girish Ramakrishnan
910be97f54
return calling callback
2016-01-05 16:16:25 -08:00
Girish Ramakrishnan
e162582045
Add collectd hack
2016-01-05 15:38:56 -08:00
Girish Ramakrishnan
cfd197d26c
region is not required
2016-01-05 14:06:16 -08:00
Girish Ramakrishnan
aa0486bc2b
use 15.10 as base image
2016-01-05 13:27:18 -08:00
Johannes Zellner
97a1fc62ae
This rule is obsolete
...
It should protect the metadata from apps, but that is already
covered with the FORWARD dropping rule below
2016-01-05 21:13:45 +01:00
Johannes Zellner
fd9dcd065a
Bring back the sleep 10 to wait for docker's iptable rules
...
See comment in code for further details
2016-01-05 21:11:43 +01:00
Johannes Zellner
59997560eb
Do not remove all files from /etc/sudoers.d/
...
On DO with caas, there are no other files initially, but
on the ec2 ubuntu images, the files have set the rules for the
ubuntu user to be able to sudo without password, which we want to
keep
2016-01-05 17:06:01 +01:00
Johannes Zellner
026e71cc6e
Default provider is caas
2016-01-05 15:58:16 +01:00
Johannes Zellner
98ecc24425
Allow metadata access for selfhosters for now
2016-01-05 15:57:50 +01:00
Johannes Zellner
3886006343
Implement ec2 sysinfo backend
2016-01-05 14:33:33 +01:00
Johannes Zellner
6d539c9203
Fix sysinfo api usage
2016-01-05 13:18:56 +01:00
Johannes Zellner
5f778e61dd
Use new getIP() api in certificates.js
2016-01-05 12:23:07 +01:00
Johannes Zellner
9860489f05
Use new getIP() api in cloudron.js
2016-01-05 12:16:48 +01:00
Johannes Zellner
21ca8ac883
Use new getIP() api in apptask
2016-01-05 12:16:39 +01:00
Johannes Zellner
ec93becb17
Add missing asserts
2016-01-05 12:14:39 +01:00
Johannes Zellner
0319445888
Make sysinfo based on provider
2016-01-05 12:10:25 +01:00
Johannes Zellner
7cba9f50c8
Docker startup is fixed with new service file, no need to wait
2016-01-05 10:07:58 +01:00
Johannes Zellner
9483c3afbc
Also support /dev/xvda1 with collectd, needed for ec2
2016-01-04 17:26:02 +01:00
Johannes Zellner
e518976534
Also support /dev/xvda for box-setup.sh which is used in ec2
2016-01-04 15:57:52 +01:00
Johannes Zellner
3626cc2394
Skip some code during tests for now
2016-01-02 16:58:27 +01:00
Johannes Zellner
3a61fc7181
We want all strings in the array as separate strings
2016-01-02 16:52:25 +01:00
Johannes Zellner
4a95fa5e87
Cleanup the installer script
2016-01-02 16:37:28 +01:00
Johannes Zellner
8e3d1422f3
Fix typo, linter could do some work ;-)
2016-01-02 15:39:48 +01:00
Johannes Zellner
640a0b2627
Try to get the latest box release if no sourceTarballUrl is specified in the provisioning data
2016-01-02 15:30:01 +01:00
Johannes Zellner
30e0cb6515
Upload box tarballs with public acl
2016-01-02 15:29:20 +01:00
Johannes Zellner
e3253aacdb
Add semver
2016-01-02 15:28:49 +01:00
Johannes Zellner
32f49d2122
Use 10GB for system, since it now includes docker images
2016-01-01 16:29:16 +01:00
Johannes Zellner
b4bef44135
Do not put docker images into te btrfs volume
2016-01-01 16:10:16 +01:00
Johannes Zellner
ce38742caf
Fix cloudron tests
v0.5.6
2015-12-31 11:55:01 +01:00
Johannes Zellner
a7d39cc8d4
Merge branch 'selfhost'
2015-12-31 11:41:46 +01:00
Johannes Zellner
cb7eb660b9
Do not fail to list apps if we are in developer mode and do not have an appstore token
2015-12-31 10:42:02 +01:00
Johannes Zellner
bad28c60ae
Do not rely on the VPS name but just get the memory from the system
2015-12-31 10:30:42 +01:00
Johannes Zellner
ab4c04085c
Use image init script from within the installer tar ball
2015-12-31 10:01:08 +01:00
Johannes Zellner
761002f39d
Include the image scripts in the installer tar
2015-12-31 09:37:55 +01:00
Johannes Zellner
996f9c7f5d
Set letsencrypt as tls config
2015-12-31 09:31:50 +01:00
Johannes Zellner
a6eca44a0d
Do not attempt to purchase an app if we dont have an appstore token
2015-12-31 09:15:27 +01:00
Girish Ramakrishnan
1820751801
show all fields
2015-12-30 19:48:10 -08:00
Johannes Zellner
030faaa5d1
Remove unused information within backup listing
2015-12-30 20:31:00 +01:00
Johannes Zellner
95e1947352
Merge branch 'selfhost'
2015-12-30 18:54:33 +01:00
Johannes Zellner
7deb11a0a6
Support s3 and route53 configs
2015-12-30 18:45:19 +01:00