From eb04c74c1b9dabf6ee600f6cbc045d75185ab286 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 17 Oct 2024 18:24:41 +0000 Subject: [PATCH] fix(qemu images): fix sources.list --- tools/qemu-ubuntu-img/generate-images.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qemu-ubuntu-img/generate-images.py b/tools/qemu-ubuntu-img/generate-images.py index 850dfa2..c7c1203 100755 --- a/tools/qemu-ubuntu-img/generate-images.py +++ b/tools/qemu-ubuntu-img/generate-images.py @@ -19,6 +19,8 @@ releases = [ template = ''' FROM ubuntu:{version} +RUN sed -i 's;http://archive.ubuntu.com/ubuntu;{repository};' /etc/apt/sources.list + ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get install -y debootstrap qemu-utils