]> sourceware.org Git - lvm2.git/commit
vgimportclone: replace awk with dumpconfig to generate temporary lvm.conf for vgimpor...
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 10 Dec 2014 12:25:23 +0000 (13:25 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 10 Dec 2014 12:59:38 +0000 (13:59 +0100)
commit00b36ef06acb15c82d7c9b37872753f02c638316
tree62d14c1039de63d647e22c09a9db961b4d4b5dfe
parent5378a1a63e8a8d89cca9460051d473b7547404f9
vgimportclone: replace awk with dumpconfig to generate temporary lvm.conf for vgimportclone

With current dumpconfig, we can generate lvm.conf easily - we can merge
current lvm.conf with the config given on cmd line:
  lvm dumpconfig --mergedconfig --config "..."

This is a bit simpler than using awk and it also avoids problems when some of
the configuration is missing in existing lvm.conf file and hardcoded defaults
are used instead. The dumpconfig handles this transparently.
WHATS_NEW
scripts/vgimportclone.sh
This page took 0.034817 seconds and 5 git commands to generate.