Skip to content
Snippets Groups Projects
Commit e3dde203 authored by OSAK Buildhauer's avatar OSAK Buildhauer
Browse files

preseed lip-early: changed bionic to eoan to fix offline repo in live system

parent 26282aee
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
sed -i -e '/ubuntu\.com/d' -e '/^$/d' /root/etc/apt/sources.list sed -i -e '/ubuntu\.com/d' -e '/^$/d' /root/etc/apt/sources.list
echo "deb [ arch=amd64 trusted=yes ] file:///isodevice/archives bionic lip" >> /root/etc/apt/sources.list 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/ bionic main restricted universe multiverse" >> /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/ bionic-security 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
echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ bionic-updates main restricted universe multiverse" >> /root/etc/apt/sources.list echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ eoan-updates main restricted universe multiverse" >> /root/etc/apt/sources.list
chroot /root /usr/bin/apt-get update chroot /root /usr/bin/apt-get update
chroot /root /usr/bin/apt-get -y install $(grep '^[^|#]*L[^|]*|' /root/isodevice/packages | cut -d'|' -f 2) chroot /root /usr/bin/apt-get -y install $(grep '^[^|#]*L[^|]*|' /root/isodevice/packages | cut -d'|' -f 2)
./root/isodevice/preseed/lipnsa.hook.sh ./root/isodevice/preseed/lipnsa.hook.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment