Update 0.1.9.md

This commit is contained in:
Stefan Pejcic 2024-05-30 10:15:23 +02:00 committed by GitHub
parent 7e1fdff9b6
commit 3e5a9b73c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,7 @@ Not yet released.
- `opencli admin` command now accepts `log` and `help` flags. - `opencli admin` command now accepts `log` and `help` flags.
- Added detailed usage with examples for `opencli admin` command. - Added detailed usage with examples for `opencli admin` command.
- OpenPanel API now also uses the forbidden_usernames.txt* file. - OpenPanel API now also uses the forbidden_usernames.txt* file.
- [Pre-fill OpenAdmin > Plans > New form ](#prefil-plan)
## FTP ## FTP
@ -165,6 +166,7 @@ Current changes include:
- Forbidden usernames file is now moved from: `/usr/local/admin/scripts/helpers/forbidden_usernames.txt` to `/etc/openpanel/openadmin/config/forbidden_usernames.txt` - Forbidden usernames file is now moved from: `/usr/local/admin/scripts/helpers/forbidden_usernames.txt` to `/etc/openpanel/openadmin/config/forbidden_usernames.txt`
- FTP configuration files are stored under `/etc/openpanel/ftp/users/` - FTP configuration files are stored under `/etc/openpanel/ftp/users/`
- Template to prefill Plan Form is now moved from `/usr/local/admin/conf/new_plan_template` to `/etc/openpanel/openadmin/config/new_plan_template`
### SSH Welcome ### SSH Welcome
@ -177,3 +179,33 @@ Custom SSH welcome message is also shown to OpenPanel users upon logging into th
![ssh-welcome-message-for-users](https://i.postimg.cc/tJfnsYvs/image.png) ![ssh-welcome-message-for-users](https://i.postimg.cc/tJfnsYvs/image.png)
### Prefill Plan
![prefill plan screenshot](https://dev.openpanel.co/prefill_plan_form.png)
To pre-fill data into the new plan form, simply create a new file:
```
/etc/openpanel/openadmin/config/new_plan_template
```
and set the data to be used:
```
{
"name": "Starter Plan",
"description": "Basic starter plan for new users.",
"docker_image": "apache",
"domains": 5,
"websites": 3,
"databases": 2,
"ram": 2,
"cpu": 1,
"port_speed": 100,
"disk_limit_for_docker": 10,
"inodes_for_storage_file": 500000,
"disk_limit_for_storage_file": 20
}