Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc2cbd0fb4 |
+1
-4
@@ -43,10 +43,7 @@ pub(crate) fn run(
|
||||
}: RunCmd,
|
||||
) -> Result<()> {
|
||||
let reg_dir = registry_dir(&name)?;
|
||||
let vmlinuz_path = registry_base_dir()?
|
||||
.parent()
|
||||
.context("registry base dir has no parent")?
|
||||
.join("vmlinuz");
|
||||
let vmlinuz_path = registry_base_dir()?.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