Revision c4feafe8 lib/config.py
b/lib/config.py | ||
---|---|---|
885 | 885 |
# rename the file paths in logical and physical id |
886 | 886 |
file_storage_dir = os.path.dirname(os.path.dirname(disk.logical_id[1])) |
887 | 887 |
disk.physical_id = disk.logical_id = (disk.logical_id[0], |
888 |
os.path.join(file_storage_dir,
|
|
889 |
inst.name, |
|
890 |
disk.iv_name)) |
|
888 |
utils.PathJoin(file_storage_dir,
|
|
889 |
inst.name,
|
|
890 |
disk.iv_name))
|
|
891 | 891 |
|
892 | 892 |
self._config_data.instances[inst.name] = inst |
893 | 893 |
self._WriteConfig() |
Also available in: Unified diff