diff --git a/src/main.rs b/src/main.rs index f61d438..c1b93e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,11 @@ use tracing::trace; use tracing_subscriber::{prelude::__tracing_subscriber_SubscriberExt, Layer}; fn main() -> Result<()> { - dotenvy::dotenv()?; + if let Err(e) = dotenvy::dotenv() { + if !e.not_found() { + return Err(e.into()); + } + } color_eyre::install()?; let subscriber = diff --git a/tests/ng/katsu-iso.yaml b/tests/ng/katsu-iso.yaml index b1036c0..dc99c4c 100644 --- a/tests/ng/katsu-iso.yaml +++ b/tests/ng/katsu-iso.yaml @@ -11,6 +11,10 @@ bootloader: grub dnf: releasever: 39 repodir: repodir/ + options: + - --setopt=keepcache=True + - --nogpgcheck + - --setopt=cachedir=/var/cache/dnf packages: - dracut-config-generic - dracut-live