]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart: refactor and fix forced config changes 10312/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 8 Jul 2016 23:00:12 +0000 (19:00 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Sun, 24 Jul 2016 16:46:09 +0000 (12:46 -0400)
commit9f2c7418f546d616ac8c6412add8b56847cac506
treeadd1930914e221f44f3a69c1d156f802eb87d6e3
parenta586ce2eec987b9d37df2b713d571653a53b101d
vstart: refactor and fix forced config changes

Despite using the -k option, vstart would sometimes (e.g. --smallmds) append
changes to the config file.  This commit runs all config changes through a
function which checks if the config file should be overwritten.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/vstart.sh