mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
When detaching unset single partition dev_path
This commit is contained in:
parent
b67b8b7260
commit
cf4a414c59
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ class Volume(FSMProxy):
|
|||
def set_dev_path(e):
|
||||
self.partition_map.root.device_path = self.device_path
|
||||
callbacks['onafterattach'] = set_dev_path
|
||||
callbacks['onafterdetach'] = set_dev_path # Will become None
|
||||
callbacks['onlink_dm_node'] = set_dev_path
|
||||
callbacks['onunlink_dm_node'] = set_dev_path
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue