From 79b90c501f27569bbbab235731681dfc5cf16d8b Mon Sep 17 00:00:00 2001 From: Apollo Catlin Date: Thu, 16 Jun 2016 10:46:50 -0400 Subject: [PATCH 1/2] update apt sources to use archive.debian.org for packages --- debian-6.0.10-amd64.json | 1 + scripts/debian/debian6-apt.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 scripts/debian/debian6-apt.sh diff --git a/debian-6.0.10-amd64.json b/debian-6.0.10-amd64.json index 87cb668db..30ebb36b5 100644 --- a/debian-6.0.10-amd64.json +++ b/debian-6.0.10-amd64.json @@ -200,6 +200,7 @@ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'", "scripts": [ "scripts/common/metadata.sh", + "scripts/debian/debian6-apt.sh", "scripts/debian/update.sh", "scripts/common/sshd.sh", "scripts/debian/networking.sh", diff --git a/scripts/debian/debian6-apt.sh b/scripts/debian/debian6-apt.sh new file mode 100644 index 000000000..6cd65e923 --- /dev/null +++ b/scripts/debian/debian6-apt.sh @@ -0,0 +1,3 @@ +#!/bin/sh -eux + +sed -i 's/mirrors.kernel.org/archive.debian.org/g' /etc/apt/sources.list From 68367f95e81298d7808b36ce9ccdf403f6a31ff1 Mon Sep 17 00:00:00 2001 From: Apollo Catlin Date: Thu, 16 Jun 2016 10:52:03 -0400 Subject: [PATCH 2/2] update i386 debian template with apt update --- debian-6.0.10-i386.json | 1 + 1 file changed, 1 insertion(+) diff --git a/debian-6.0.10-i386.json b/debian-6.0.10-i386.json index 60ffe78f0..4d45329cd 100644 --- a/debian-6.0.10-i386.json +++ b/debian-6.0.10-i386.json @@ -200,6 +200,7 @@ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'", "scripts": [ "scripts/common/metadata.sh", + "scripts/debian/debian6-apt.sh", "scripts/debian/update.sh", "scripts/common/sshd.sh", "scripts/debian/networking.sh",