diff options
Diffstat (limited to 'cumount.py')
| -rwxr-xr-x | cumount.py | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -32,6 +32,10 @@ def main(): | |||
| 32 | '-a', | 32 | '-a', |
| 33 | 'n', | 33 | 'n', |
| 34 | data['device']]) | 34 | data['device']]) |
| 35 | subprocess.check_call(['/sbin/vgchange', | ||
| 36 | '-a', | ||
| 37 | 'n', | ||
| 38 | data['device'].split('/')[2]]) | ||
| 35 | cstm_error = 'pv_sources error' | 39 | cstm_error = 'pv_sources error' |
| 36 | for mapper_name in data['pv_sources'].values(): | 40 | for mapper_name in data['pv_sources'].values(): |
| 37 | subprocess.check_call(['/sbin/cryptsetup', | 41 | subprocess.check_call(['/sbin/cryptsetup', |
