Johannes Zellner
772787fc22
Do not ignore scripts/ for export
2016-01-12 16:15:21 +01:00
Johannes Zellner
985b33b65b
Add missing dev modules for images tool
2016-01-12 12:55:10 +01:00
Johannes Zellner
ef7c5c2d2b
Remove vultr caas support
2016-01-12 12:55:10 +01:00
Johannes Zellner
0d49aafb54
Move installer/images scripts to scripts/
2016-01-12 12:55:10 +01:00
Johannes Zellner
98aae5ddc6
Correctly copy installer files
2016-01-11 15:37:40 +01:00
Johannes Zellner
070e8606fa
Use json from box/
2016-01-11 15:20:29 +01:00
Johannes Zellner
511b2848c3
Fixup the paths in the createImage script
2016-01-11 15:14:07 +01:00
Johannes Zellner
7dd96d9a75
Fixup create box tarball script paths
2016-01-11 14:53:18 +01:00
Johannes Zellner
7d80f69ee8
Use the unified tarball instead of separate installer
2016-01-11 14:49:49 +01:00
Johannes Zellner
85491cb7b5
Merge branch 'selfhost' of ../installer into selfhost
2016-01-11 14:45:33 +01:00
Johannes Zellner
3c0b88a1ee
Move to subfolder installer/
2016-01-11 14:42:20 +01:00
Johannes Zellner
33c072f544
Support box and installer in one tarball
2016-01-11 14:25:04 +01:00
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