I like copy --refresh
since you can use it for smart and fast standby repliacation. If a node or a storage fails you could just start the copy having the exact same instance config which makes sure you also get the same IP.
Now I try to make local copies from running containers on a separat storage. When I try to (re-)start the original container I get:
Error: Failed start validation for device "eth0": MAC address "00:16:3e:37:87:b1" already defined on another NIC
Try `lxc info --show-log dc02` for more info
although the other one is not running.
As a work around I now remove the mac address from the copy afterwards
lxc config unset $c-backup volatile.eth0.hwaddr
Is there a way to disable that kind of mac parsing on container start?
Any other idea how to create exact diff copies on the same host avoding the errors described above?