vagrant-repo-configure 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de60a70fb7581abc037386bf13b21085b6b64d32
|
4
|
+
data.tar.gz: a452cfd27fccfec26ba9440299a3154bfe4da395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60f620f52adf28df5ed5749b8eea640dd4821d9dfc8b26188359709d54d3e3984c57ad5b91aee9577efa0a77e92df8d9c06b4579516ad1e7d4a4f6b360ca49e1
|
7
|
+
data.tar.gz: 904f41b15a38a0b9ce92c75371f82b889f12e35beb7b48d859709825c686e53a3fd5493686d68c33be68beb2de6187b178b47741ebde5ec44d125688ce77c1fd
|
@@ -6,9 +6,8 @@ module Vagrant
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def call(env)
|
9
|
+
vm = env[:vm] || env[:machine]
|
9
10
|
unless vm.config.repos.apt_lines.empty?
|
10
|
-
vm = env[:vm] || env[:machine]
|
11
|
-
|
12
11
|
vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
|
13
12
|
|
14
13
|
vm.config.repos.apt_lines.each do |line|
|