Skip to content

Commit f31af75

Browse files
authored
Merge pull request #1157 from gusthoff/topic/infrastructure/vagrant/20241227/tmp_old_release
Vagrant VM: use old-releases repo for Ubuntu installation
2 parents 87b244c + 7c2c2cb commit f31af75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Vagrantfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
$frontend = <<-SHELL
22
#!/bin/bash -eux
33
4+
# TEMPORARY: Path old Ubuntu release
5+
sed -i -e 's#archive.ubuntu.com#old-releases.ubuntu.com#' /etc/apt/sources.list
6+
sed -i -e 's#security.ubuntu.com#old-releases.ubuntu.com#' /etc/apt/sources.list
7+
48
# Enable the NodeSource repository
59
curl -sL https://deb.nodesource.com/setup_20.x | bash -
610
@@ -87,6 +91,10 @@ SHELL
8791
$epub = <<-SHELL
8892
#!/bin/bash -eux
8993
94+
# TEMPORARY: Path old Ubuntu release
95+
sed -i -e 's#archive.ubuntu.com#old-releases.ubuntu.com#' /etc/apt/sources.list
96+
sed -i -e 's#security.ubuntu.com#old-releases.ubuntu.com#' /etc/apt/sources.list
97+
9098
# Enable the NodeSource repository
9199
curl -sL https://deb.nodesource.com/setup_20.x | bash -
92100

0 commit comments

Comments
 (0)