melato / lxops

Apache License 2.0
8 stars 0 forks source link

cloning a container does not set the correct profiles #18

Closed melato closed 9 months ago

melato commented 9 months ago

If a container is created by cloning another container (origin: container/snapshot), the profiles of the resulting containers are the profiles of the origin container. This is wrong. The devices profile should have the new container devices, not the old container devices. Cloning is useful for making a test copy of a container. If it has the original devices, it will affect the original container.