mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Unset unlinked_device_path after use
This commit is contained in:
parent
0c4ba09958
commit
801284cfec
1 changed files with 4 additions and 3 deletions
|
@ -138,8 +138,9 @@ class Volume(FSMProxy):
|
|||
e (_e_obj): Event object containing arguments to create()
|
||||
"""
|
||||
log_check_call(['dmsetup', 'remove', self.dm_node_name])
|
||||
# Delete the no longer valid information
|
||||
del self.dm_node_name
|
||||
del self.dm_node_path
|
||||
# Reset the device_path
|
||||
self.device_path = self.unlinked_device_path
|
||||
# Delete the no longer valid information
|
||||
del self.unlinked_device_path
|
||||
del self.dm_node_name
|
||||
del self.dm_node_path
|
||||
|
|
Loading…
Add table
Reference in a new issue