Merge "Change lvm settings to make lvcreate working inside containers"

This commit is contained in:
Jenkins 2016-10-25 13:52:24 +00:00 committed by Gerrit Code Review
commit 0c9b0de3ac
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ class UnderlaySSHManager(object):
"""
def get_actions(lvm_id):
return [
("sed -i -e 's/\\(\\budev_sync = \\)1/\\10/' "
"-e 's/\\(\\budev_rules = \\)1/\\10/' /etc/lvm/lvm.conf"),
"systemctl enable lvm2-lvmetad.service",
"systemctl enable lvm2-lvmetad.socket",
"systemctl start lvm2-lvmetad.service",