mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update 0.1.9.md
This commit is contained in:
parent
7e1fdff9b6
commit
3e5a9b73c4
@ -37,6 +37,7 @@ Not yet released.
|
||||
- `opencli admin` command now accepts `log` and `help` flags.
|
||||
- Added detailed usage with examples for `opencli admin` command.
|
||||
- OpenPanel API now also uses the forbidden_usernames.txt* file.
|
||||
- [Pre-fill OpenAdmin > Plans > New form ](#prefil-plan)
|
||||
|
||||
|
||||
## 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`
|
||||
- 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
|
||||
|
||||
@ -177,3 +179,33 @@ Custom SSH welcome message is also shown to OpenPanel users upon logging into th
|
||||

|
||||
|
||||
|
||||
### Prefill Plan
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user