feat: Add bootc support (#448)
Adds support for using `bootc` as the preferred method for booting from a locally created image. This new method gets rid of the need to create a tarball and move it to the correct place and instead it will make use of `podman scp` which copies the image to the root `containers-storage` and then has `rpm-ostree` and `bootc` boot from that store. Closes #418 Closes #200
This commit is contained in:
parent
2c525854c9
commit
3a0be4099a
65 changed files with 2991 additions and 1857 deletions
|
|
@ -138,7 +138,7 @@ impl Recipe<'_> {
|
|||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn get_secrets(&self) -> HashSet<&Secret> {
|
||||
pub fn get_secrets(&self) -> Vec<&Secret> {
|
||||
self.modules_ext
|
||||
.modules
|
||||
.iter()
|
||||
|
|
@ -154,6 +154,8 @@ impl Recipe<'_> {
|
|||
.filter_map(|module| Some(&module.required_fields.as_ref()?.secrets))
|
||||
.flatten(),
|
||||
)
|
||||
.collect::<HashSet<_>>()
|
||||
.into_iter()
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue