Skip to content

Commit

Permalink
Merge pull request chef#614 from apollocatlin/archive-debian6
Browse files Browse the repository at this point in the history
update apt sources to use archive.debian.org for packages
  • Loading branch information
Seth Thomas authored Jun 16, 2016
2 parents 2d34616 + 68367f9 commit 12f434b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian-6.0.10-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions debian-6.0.10-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions scripts/debian/debian6-apt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh -eux

sed -i 's/mirrors.kernel.org/archive.debian.org/g' /etc/apt/sources.list

0 comments on commit 12f434b

Please sign in to comment.