]> git.proxmox.com Git - pve-storage.git/commit
CephConfig: do not always interpret '; ' as a comment
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 27 Jun 2019 08:43:10 +0000 (10:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 14:16:36 +0000 (16:16 +0200)
commitc835d9eca8b92bf88438435ad903d9c75d6c749c
treed48d8beb5ae6667a7ce6b47911b026f8a75335e8
parentb0125b6ae53be82e15a461390784170065719e12
CephConfig: do not always interpret '; ' as a comment

; is the beginning of a comment, but in some configuration settings
it is also valid syntax, e.g. for mon_host it is a valid
seperator for hosts (sigh ...)

only remove lines when it starts with a ';'

since we remove all comments anyway any time we write the ceph conf
it should not really matter for our users

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/CephConfig.pm