Submitted by geoffoliver on Thu, 12/29/2016 - 03:25
When I use the "virtualmin modify-template" command and try to update a setting with the "--value-file" option, only the first line is read in. For example:
With a file that contains two lines, running this command:
virtualmin modify-template --id 0 --setting logrotate_files --value-file /path/to/file-with-two-lines
Updates the "Server Templates -> Default Settings -> Log File Rotation -> Additional files to rotate" field, but it only contains the first line of the file.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 12/29/2016 - 23:06 Comment #1
Thanks for pointing this out - this will be fixed in the next Virtualmin release (5.06).
Submitted by JamieCameron on Thu, 12/29/2016 - 23:06 Comment #2