Mercurial > hg > Members > anatofuz > ie-virsh
changeset 45:91aea67d88fb
fix path
author | AnaTofuZ <anatofuz@gmail.com> |
---|---|
date | Sun, 22 Nov 2020 18:06:30 +0900 |
parents | 9d5cb6b2046e |
children | 868d51208aa3 |
files | src/virsh.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/virsh.rs Sun Nov 22 18:05:42 2020 +0900 +++ b/src/virsh.rs Sun Nov 22 18:06:30 2020 +0900 @@ -84,7 +84,7 @@ .arg(template_path) .arg("-f") .arg(QCOW2) - .arg(vm_name) + .arg(format!("{}.qcow2", vm_name)) .output() .unwrap_or_else(|_| panic!("failed to generate {}", &vm_name)); io::stdout().write_all(&output.stdout).unwrap();