From eb07987b399c416ae1005679a89f45bb59f22c7a Mon Sep 17 00:00:00 2001 From: valentin <valentinb@fsmpi.rwth-aachen.de> Date: Fri, 4 Oct 2019 13:04:46 +0200 Subject: [PATCH] preseed lip-early: fix apt-clone --- preseed/lip-early.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/preseed/lip-early.sh b/preseed/lip-early.sh index 0bda43a..4831861 100755 --- a/preseed/lip-early.sh +++ b/preseed/lip-early.sh @@ -1,5 +1,6 @@ #!/bin/sh sed -i -e '/ubuntu\.com/d' -e '/^$/d' /root/etc/apt/sources.list +sed -i -e 's/lsb_release\.get_lsb_information()/lsb_release.get_distro_information()/g' /root/usr/bin/apt-clone echo "deb [ arch=amd64 trusted=yes ] file:///isodevice/archives eoan lip" >> /root/etc/apt/sources.list echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ eoan main restricted universe multiverse" >> /root/etc/apt/sources.list echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ eoan-security main restricted universe multiverse" >> /root/etc/apt/sources.list -- GitLab