diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-10-09 16:34:45 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-10-09 16:34:45 +0000 |
commit | 9c44767b4860822dbfc69222786a48ff9b7e616e (patch) | |
tree | 2038e8edc84d29f02fe9dec1b7fc3da8250f6c09 /draklive | |
parent | e0dbacd1d09c08ca6e6ecae7831214bd21158f35 (diff) | |
download | drakiso-9c44767b4860822dbfc69222786a48ff9b7e616e.tar drakiso-9c44767b4860822dbfc69222786a48ff9b7e616e.tar.gz drakiso-9c44767b4860822dbfc69222786a48ff9b7e616e.tar.bz2 drakiso-9c44767b4860822dbfc69222786a48ff9b7e616e.tar.xz drakiso-9c44767b4860822dbfc69222786a48ff9b7e616e.zip |
use get_disk_master_prefix
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1260,9 +1260,7 @@ sub create_vm_image { warn "no master image, skipping\n"; } - my $vm_image = $master; - $vm_image =~ s/.img$/.$vm_type/; - + my $vm_image = get_disk_master_prefix($live) . ".$vm_type"; run_("qemu-img", "convert", "-O", $vm_type, $master, $vm_image); } |