1

I wanted to build another server based on an existing config, so I performed the following:

[user@box ~]# virt-clone --original serverA-rhel8 --name serverB-rhel8 --auto-clone
Allocating 'serverA-rhel8-1-clone.qcow2'      | 200 GB  00:00:16 

As you can see, cloning resulted in a new qcow2 file, however the name of that file is misleading (since it is actually serverB-rhel8).

Is there a way to either configure the qcow2 name when issuing virt-clone, or renaming the new qcow2 file afterwards?

a coder
  • 3,184
  • 9
  • 42
  • 63

1 Answers1

1

You can specify --file /path/to/new/file and name it whatever you want

Cole Robinson
  • 576
  • 2
  • 5