Merge "Revert "Don't use ignoreskipactivation for thin LVM""
This commit is contained in:
commit
640b870f9c
@ -672,8 +672,7 @@ class LVM(executor.Executor):
|
|||||||
# and fails.
|
# and fails.
|
||||||
cmd = ['lvchange', '-a', 'y', '--yes']
|
cmd = ['lvchange', '-a', 'y', '--yes']
|
||||||
|
|
||||||
if (self.supports_lvchange_ignoreskipactivation and
|
if self.supports_lvchange_ignoreskipactivation:
|
||||||
self.vg_thin_pool is None):
|
|
||||||
cmd.append('-K')
|
cmd.append('-K')
|
||||||
# If permanent=True is specified, drop the skipactivation flag in
|
# If permanent=True is specified, drop the skipactivation flag in
|
||||||
# order to make this LV automatically activated after next reboot.
|
# order to make this LV automatically activated after next reboot.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user