diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-09-02 15:17:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-09-02 15:17:37 +0300 |
commit | 2301e64d39897253663b14dc160be52457f65b23 (patch) | |
tree | 7525305640cd82179983a1065e67d3e772c38054 | |
parent | ec75f369cbf47ea9ddf6dc8f5b0f07383dd23643 (diff) | |
download | vmdb2-2301e64d39897253663b14dc160be52457f65b23.tar.gz |
Change: pvcreate --force
-rw-r--r-- | vmdb/plugins/lvm2_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/lvm2_plugin.py b/vmdb/plugins/lvm2_plugin.py index 961b804..9a79ff5 100644 --- a/vmdb/plugins/lvm2_plugin.py +++ b/vmdb/plugins/lvm2_plugin.py @@ -41,7 +41,7 @@ class VgcreateStepRunner(vmdb.StepRunnerInterface): physical = self.get_pv(step, state) for phys in physical: - vmdb.runcmd(['pvcreate', phys]) + vmdb.runcmd(['pvcreate', '--force', phys]) vmdb.runcmd(['vgcreate', vgname] + physical) def teardown(self, step, settings, state): |