Fix provider usage

* do not send to appstore anymore
* do not set in getStatus/getConfig
* provider is not needed when registering cloudron
This commit is contained in:
Girish Ramakrishnan
2020-06-25 11:07:49 -07:00
parent 85f67c13da
commit 215aa65d5a
6 changed files with 5 additions and 8 deletions

View File

@@ -112,7 +112,7 @@ if [[ "${enableSSH}" == "true" ]]; then
permit_root_login=$(grep -q ^PermitRootLogin.*yes /etc/ssh/sshd_config && echo "yes" || echo "no")
# support.js uses similar logic
if $(grep -q "ec2\|lightsail\|ami" /etc/cloudron/PROVIDER); then
if [[ -d /home/ubuntu ]]; then
ssh_user="ubuntu"
keys_file="/home/ubuntu/.ssh/authorized_keys"
else