Commit Graph

14 Commits

Author SHA1 Message Date
Johannes Zellner
7c27f01ab8 Do not automatically enable root ssh access
With our current self-hosting installation process, this
is not longer required. It should be the users responsibility
to gain access to his server. For Cloudron managed hosting,
this does not apply as we always create servers with ssh keys.

Also do not tinker with the sshd configs. The user may choose
to use access via password.

Fixes #104
2016-11-17 16:28:32 +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 Zellner
2c511ccc5a Do not create a swap file if swap is already more than physical memory
This is the case for example on the default ubuntu 16.04 virtualbox image
2016-10-20 15:32:02 +02:00
Girish Ramakrishnan
5a18c4dc26 in some systems, there is already some swap allocated 2016-10-08 21:55:13 -07:00
Girish Ramakrishnan
0fbe2709ea bash cannot handle float arithmetic 2016-10-08 21:40:05 -07:00
Girish Ramakrishnan
6fdf5bd7ec Find rootfs device the hard way 2016-10-08 21:31:11 -07:00
Johannes Zellner
621fb6ddce Ensure root can login via ssh 2016-06-24 15:51:45 +02:00
Girish Ramakrishnan
8db76f6b70 backup swap is not required anymore 2016-04-10 20:55:59 -07:00
Girish Ramakrishnan
83d05c99d3 mount manually instead of fstab because of race
I cannot figure how to make the box-setup.service run before the mounting
of a specific mount point. adding a dep on mount.target locks up the system.
2016-03-07 10:48:09 -08:00
Girish Ramakrishnan
eadcdeee1c not being mounted is the normal case 2016-03-07 10:37:26 -08:00
girish@cloudron.io
3a12265f42 Do not preallocate data volume
This is not tested but will get tested in the next upgrade
2016-02-26 08:27:13 -08:00
girish@cloudron.io
7a8b457ce9 truncate to shrink the file if required 2016-02-25 19:26:46 -08:00
girish@cloudron.io
10967ff8ce allow 1.2 times RAM
This is basically to allow 2 phabricators and another small app with
no warning on a 4gb droplet :-)
2016-02-25 18:34:28 -08:00
Johannes Zellner
3c0b88a1ee Move to subfolder installer/ 2016-01-11 14:42:20 +01:00