[Fedora-xen] virt-clone/Fedora 8/Xen3.1 ... ERROR: Disk size must be an int or a float.

Daniel P. Berrange berrange at redhat.com
Tue Feb 12 17:36:14 UTC 2008


On Tue, Feb 12, 2008 at 07:24:34AM -0800, christf1 wrote:
> 
> I tried the latest dev stream, and continued to have the problem. The quick
> fix is to simply touch the target file before launching 'virt-clone'
> 
> touch <dir_to_VMs>/newvm.img
> virt-clone -o existing_vm -n new_vm -o <dir_to_VMs>/newvm.img

Your command line is wrong - the last flag should be '-f'  not '-o' to
supply the filename

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the Fedora-xen mailing list