krata: implement image seeding backend

This commit is contained in:
Alex Zenla
2024-03-13 14:20:22 +00:00
parent f23d84c415
commit 7d65f9d24c
4 changed files with 156 additions and 21 deletions

View File

@ -218,7 +218,7 @@ impl GuestLauncher {
async fn compile(&self, image: &str, image_cache: &ImageCache) -> Result<ImageInfo> {
let image = ImageName::parse(image)?;
let compiler = ImageCompiler::new(image_cache)?;
let compiler = ImageCompiler::new(image_cache, None)?;
compiler.compile(&image).await
}