From 860580900d1e3fe7d2468ccb9b882f703280ce27 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 28 Jun 2017 10:41:38 -0300 Subject: Apt config at kvmx-create --- kvmx-create | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kvmx-create b/kvmx-create index 36d3795..bafa79a 100755 --- a/kvmx-create +++ b/kvmx-create @@ -229,6 +229,12 @@ function kvmx_create_custom { # Fstab echo "/dev/vda2 / ext4 errors=remount-ro 0 1" | $SUDO tee $WORK/etc/fstab > /dev/null + # Apt + if [ "$version" != "sid" ]; then + echo "deb http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list + echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list + fi + # Mount auxiliary filesystems needed by the bootloader kvmx_sudo_run mount none -t proc $WORK/proc kvmx_sudo_run mount none -t sysfs $WORK/sys -- cgit v1.2.3