vagrant-repo-configure 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vagrant-repo-configure/config.rb +7 -0
- data/lib/vagrant-repo-configure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef76233ddd58b2e4e4707ad3e6bf6dd396cb6b2a
|
4
|
+
data.tar.gz: 86cc8261315af0ea4342e43b4c673e54461f2c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db072971ba86b162de3512c7b4818eae33e32e3f6a1ae5189f03965bc340fcfc856b5881beee7d4421f94753f92a2c3b9ac46e4d492e22f28260021c075b2c12
|
7
|
+
data.tar.gz: 744a9a8a0df17c71fb41f6b544ba259a2d5bb6df133e7cfbf3dc6236cb3996453cec3da34858aca7c69f9db93fb3a3d9e0cba57b02f6d485e15e7316505fab55
|
@@ -9,6 +9,13 @@ module Vagrant
|
|
9
9
|
@apt_lines = UNSET_VALUE
|
10
10
|
end
|
11
11
|
|
12
|
+
def use_ubuntu_mirror(mirror,release)
|
13
|
+
@apt_lines = [] if @apt_lines == UNSET_VALUE
|
14
|
+
@apt_lines << "deb #{mirror} #{release} main restricted universe multiverse"
|
15
|
+
@apt_lines << "deb #{mirror} #{release}-security main restricted universe multiverse"
|
16
|
+
@apt_lines << "deb #{mirror} #{release}-updates main restricted universe multiverse"
|
17
|
+
end
|
18
|
+
|
12
19
|
def add(line)
|
13
20
|
@apt_lines = [] if @apt_lines == UNSET_VALUE
|
14
21
|
|