mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-15 05:18:04 +00:00
3bd3ebeadb
image2disk.py puts the volumes of a node it installs into the volume group localstorage. Capturing such a node and installing the profile to disk again failed with 'No mapping defined to create volume group localstorage': volumes named localstorage-root were taken for volumes of an extra volume group that needs volumegroupmap.yml. Treat volumes of a volume group named like the target one as main volume group volumes, and split device mapper names into volume group and logical volume names correctly, including hyphens that device mapper doubles inside either name.