From ddeaf22a558995881c8df8824cba28375f20ba33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Sat, 27 Apr 2019 19:40:31 +0200 Subject: [PATCH] Force dnf package index refresh when using Fedora's install() function --- images/fedora/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/fedora/functions b/images/fedora/functions index 21ae958..86d63af 100644 --- a/images/fedora/functions +++ b/images/fedora/functions @@ -14,7 +14,7 @@ boot() { install() { port=$1 shift 1 - guest_ssh -p $port build@localhost sudo dnf -y install "$@" + guest_ssh -p $port build@localhost sudo dnf --refresh -y install "$@" } add_repository() { -- 2.38.5