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