vagrant-repo-configure 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/vagrant-repo-configure/middleware.rb +2 -1
- 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: e008643aa3b1bd98eec0e45b0422e25cd87efcee
|
4
|
+
data.tar.gz: 468156493b0c3d5d813d51affda072e8808dff8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 504af59f72b4f223c1133908008fc99b8412f2d629b3cf40de51536e7ce0558387233510219af88696e3b46c5c5274404c51969ec0da5c8a320372560b957a2e
|
7
|
+
data.tar.gz: 08b9df42651d97771aa99a5a8a28bdb32ac9fad6d07c5dc008c07d7dd49a467fbb82d50a2e2ab48773f65449b990efc3f1fea61c9284e9ecf0bde2a019588675
|
data/Gemfile.lock
CHANGED
@@ -8,8 +8,9 @@ module Vagrant
|
|
8
8
|
def call(env)
|
9
9
|
vm = env[:vm] || env[:machine]
|
10
10
|
|
11
|
+
vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
|
12
|
+
|
11
13
|
vm.config.repos.apt_lines.each do |line|
|
12
|
-
vm.communicate.sudo('mv /etc/apt/sources.list /etc/apt/sources.list.old')
|
13
14
|
vm.communicate.sudo("echo #{line} >> /etc/apt/sources.list")
|
14
15
|
env[:ui].info "Added #{line} to sources list"
|
15
16
|
end
|