Merge "Revert "Don't use ignoreskipactivation for thin LVM""

This commit is contained in:
Jenkins 2017-07-05 17:10:09 +00:00 committed by Gerrit Code Review
commit b71c7b9da7
1 changed files with 1 additions and 2 deletions

View File

@ -681,8 +681,7 @@ class LVM(executor.Executor):
# and fails.
cmd = ['lvchange', '-a', 'y', '--yes']
if (self.supports_lvchange_ignoreskipactivation and
self.vg_thin_pool is None):
if self.supports_lvchange_ignoreskipactivation:
cmd.append('-K')
# If permanent=True is specified, drop the skipactivation flag in
# order to make this LV automatically activated after next reboot.