modify-template

Changes one or more settings in a template This command can be used to change several settings in a Virtualmin template, specified either by name with the --name parameter, or by ID with the --id flag. The setting to change is specified with the --setting flag, followed by a template variable name like uquota. Each occurrence of this flag must be followed by the --value parameter, followed by the value to use for the previously named setting.

Changes one or more settings in a template#

This command can be used to change several settings in a Virtualmin template, specified either by name with the --name parameter, or by ID with the --id flag.

The setting to change is specified with the --setting flag, followed by a template variable name like uquota. Each occurrence of this flag must be followed by the --value parameter, followed by the value to use for the previously named setting.

Multi-line values can be instead read from a file, by using the --value-file parameter followed by a full path to a file.

Command line help#

virtualmin modify-template --name template-name | --id template-id
 [--setting name --value newvalue]+
 [--fix-options]

Source: https://www.virtualmin.com/docs/development/api-programs/modify-template/

  • virtualmin, quota, command line, fix, modify, template
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...