diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-09-02 15:20:49 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-09-02 15:20:49 +0300 |
commit | f78576588117223f4eb92adeb1b2555b03b8a00f (patch) | |
tree | 7971630df8b7b23020eeab2075b205abb52d34a1 | |
parent | 2301e64d39897253663b14dc160be52457f65b23 (diff) | |
download | vmdb2-f78576588117223f4eb92adeb1b2555b03b8a00f.tar.gz |
Fix: force harder
-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 9a79ff5..03a98c0 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', '--force', phys]) + vmdb.runcmd(['pvcreate', '-ff', '--yes', phys]) vmdb.runcmd(['vgcreate', vgname] + physical) def teardown(self, step, settings, state): |