Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc2cbd0fb4 |
+1
-4
@@ -43,10 +43,7 @@ pub(crate) fn run(
|
|||||||
}: RunCmd,
|
}: RunCmd,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
let reg_dir = registry_dir(&name)?;
|
let reg_dir = registry_dir(&name)?;
|
||||||
let vmlinuz_path = registry_base_dir()?
|
let vmlinuz_path = registry_base_dir()?.join("vmlinuz");
|
||||||
.parent()
|
|
||||||
.context("registry base dir has no parent")?
|
|
||||||
.join("vmlinuz");
|
|
||||||
let initrd_path = reg_dir.join("initrd");
|
let initrd_path = reg_dir.join("initrd");
|
||||||
let qcow2_path = reg_dir.join("image.qcow2");
|
let qcow2_path = reg_dir.join("image.qcow2");
|
||||||
if !vmlinuz_path.exists() {
|
if !vmlinuz_path.exists() {
|
||||||
|
|||||||
Reference in New Issue
Block a user