Open vincent-sensei opened 2 years ago
You can use the create
function to clone containers by setting the source
to container.
something like:
config = {
'name': ' name ',
'source': {
'type':'copy',
'source': 'original-container'
}
lxd.create(config) # will clone original-container
see: https://pylxd.readthedocs.io/en/latest/instances.html#examples
there is no function to clone the container with the native function of lxc copy?