vagrant-export 0.2.4 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e755fa029f52f3b879e3b5593a71e58937088b0a
4
- data.tar.gz: 336f541f22a877dae98e67835745c17c57bad929
3
+ metadata.gz: 0237483397a46ff61612a77d4ad2f5138be1f455
4
+ data.tar.gz: bc465a1457a13b3568769db932b12f6dc28d16ac
5
5
  SHA512:
6
- metadata.gz: 2dbb40ea6ed69b44db240d199ca312ea4559dcd9e2250f2179a305e1e3d69f81a26abb2b055e399adaf1112b662de184d16d63fa2b75366fd73420009704ccfa
7
- data.tar.gz: 124f86fd651583256a78e5eb8aeb5e7cd5261918db16e8f24a36908649fe043b21be592a62ed64c846299acac43b90c450ec1ebe06f1c487c19cc3a1740c242b
6
+ metadata.gz: 8eed9c13da076b629aeda68cb960a30c111e3cf945691bff139c41bfde219bf3dabfe2e43fb625078b6e98e7bdf009cf739a07a80b15db2b199e022eefd00d73
7
+ data.tar.gz: b7647f47b0db309264fff44ad8bccbd6435b716f00865871e26a73d0e328e51341d35740627c6568aafdbc114955e0617b92727c5e6e2b80f098814dec9fab4c
data/Gemfile.lock ADDED
@@ -0,0 +1,109 @@
1
+ GIT
2
+ remote: https://github.com/mitchellh/vagrant.git
3
+ revision: 9874a0db5fc4e13e34cef6361c44e18e44d28dac
4
+ specs:
5
+ vagrant (1.7.2)
6
+ bundler (>= 1.5.2, < 1.8.0)
7
+ childprocess (~> 0.5.0)
8
+ erubis (~> 2.7.0)
9
+ hashicorp-checkpoint (~> 0.1.1)
10
+ i18n (~> 0.6.0)
11
+ listen (~> 2.8.0)
12
+ log4r (~> 1.1.9, < 1.1.11)
13
+ net-scp (~> 1.1.0)
14
+ net-sftp (~> 2.1)
15
+ net-ssh (>= 2.6.6, < 2.10.0)
16
+ nokogiri (= 1.6.3.1)
17
+ rb-kqueue (~> 0.2.0)
18
+ rest-client (>= 1.6.0, < 2.0)
19
+ wdm (~> 0.1.0)
20
+ winrm (~> 1.1.3)
21
+
22
+ PATH
23
+ remote: .
24
+ specs:
25
+ vagrant-export (0.2.5)
26
+
27
+ GEM
28
+ remote: https://rubygems.org/
29
+ specs:
30
+ akami (1.2.2)
31
+ gyoku (>= 0.4.0)
32
+ nokogiri
33
+ builder (3.2.2)
34
+ celluloid (0.16.0)
35
+ timers (~> 4.0.0)
36
+ childprocess (0.5.5)
37
+ ffi (~> 1.0, >= 1.0.11)
38
+ erubis (2.7.0)
39
+ ffi (1.9.6)
40
+ gssapi (1.0.3)
41
+ ffi (>= 1.0.1)
42
+ gyoku (1.2.2)
43
+ builder (>= 2.1.2)
44
+ hashicorp-checkpoint (0.1.4)
45
+ hitimes (1.2.2)
46
+ httpclient (2.6.0.1)
47
+ httpi (0.9.7)
48
+ rack
49
+ i18n (0.6.11)
50
+ listen (2.8.5)
51
+ celluloid (>= 0.15.2)
52
+ rb-fsevent (>= 0.9.3)
53
+ rb-inotify (>= 0.9)
54
+ little-plugger (1.1.3)
55
+ log4r (1.1.10)
56
+ logging (1.8.2)
57
+ little-plugger (>= 1.1.3)
58
+ multi_json (>= 1.8.4)
59
+ mime-types (2.4.3)
60
+ mini_portile (0.6.0)
61
+ multi_json (1.10.1)
62
+ net-scp (1.1.2)
63
+ net-ssh (>= 2.6.5)
64
+ net-sftp (2.1.2)
65
+ net-ssh (>= 2.6.5)
66
+ net-ssh (2.9.2)
67
+ netrc (0.10.2)
68
+ nokogiri (1.6.3.1)
69
+ mini_portile (= 0.6.0)
70
+ nori (1.1.5)
71
+ rack (1.6.0)
72
+ rb-fsevent (0.9.4)
73
+ rb-inotify (0.9.5)
74
+ ffi (>= 0.5.0)
75
+ rb-kqueue (0.2.3)
76
+ ffi (>= 0.5.0)
77
+ rest-client (1.7.2)
78
+ mime-types (>= 1.16, < 3.0)
79
+ netrc (~> 0.7)
80
+ rubyntlm (0.1.1)
81
+ savon (0.9.5)
82
+ akami (~> 1.0)
83
+ builder (>= 2.1.2)
84
+ gyoku (>= 0.4.0)
85
+ httpi (~> 0.9)
86
+ nokogiri (>= 1.4.0)
87
+ nori (~> 1.0)
88
+ wasabi (~> 1.0)
89
+ timers (4.0.1)
90
+ hitimes
91
+ uuidtools (2.1.5)
92
+ wasabi (1.0.0)
93
+ nokogiri (>= 1.4.0)
94
+ wdm (0.1.0)
95
+ winrm (1.1.3)
96
+ gssapi (~> 1.0.0)
97
+ httpclient (~> 2.2, >= 2.2.0.2)
98
+ logging (~> 1.6, >= 1.6.1)
99
+ nokogiri (~> 1.5)
100
+ rubyntlm (~> 0.1.1)
101
+ savon (= 0.9.5)
102
+ uuidtools (~> 2.1.2)
103
+
104
+ PLATFORMS
105
+ ruby
106
+
107
+ DEPENDENCIES
108
+ vagrant!
109
+ vagrant-export!
@@ -5,6 +5,6 @@
5
5
 
6
6
  module VagrantPlugins
7
7
  module Export
8
- VERSION = '0.2.4'
8
+ VERSION = '0.2.5'
9
9
  end
10
10
  end
data/res/cleanup.sh CHANGED
@@ -14,9 +14,12 @@ do
14
14
 
15
15
  done
16
16
 
17
+ echo "Reset vagrant authorized keys file"
18
+ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O '/home/vagrant/.ssh/authorized_keys'
19
+
17
20
  echo "Removing old kernel packages"
18
21
  apt-get -y --purge remove $(dpkg --list | grep '^rc' | awk '{print $2}')
19
- apt-get -y --purge remove $(dpkg --list | egrep 'linux-image-[0-9]' | awk '{print $3,$2}' | sort -nr | tail -n +2 | grep -v $(uname -r) | awk '{ print $2}')
22
+ apt-get -y --purge remove $(dpkg --list | egrep 'linux-(image|headers)-[0-9]' | awk '{print $3,$2}' | sort -nr | tail -n +2 | grep -v $(uname -r | sed -e s/-generic//g) | awk '{ print $2}')
20
23
 
21
24
  echo "Cleaning up apt"
22
25
  apt-get -y --purge autoremove
@@ -54,12 +57,12 @@ if [[ -d /var/www/var/cache ]]; then
54
57
  rm -rf /var/www/var/tmp/*
55
58
  fi
56
59
 
57
- echo "Sync to disc"
58
- sync
59
-
60
60
  echo "Zeroing device to make space..."
61
61
  dd if=/dev/zero of=/EMPTY bs=1M
62
62
  rm -f /EMPTY
63
63
 
64
+ echo "Sync to disc"
65
+ sync
66
+
64
67
  echo "Exit happily"
65
68
  exit 0
@@ -7,7 +7,7 @@ Gem::Specification.new do |g|
7
7
  g.version = VagrantPlugins::Export::VERSION
8
8
  g.platform = Gem::Platform::RUBY
9
9
  g.license = 'MIT'
10
- g.authors = 'Georg Großberger'
10
+ g.authors = 'Georg Grossberger'
11
11
  g.email = 'contact@grossberger-ge.org'
12
12
  g.homepage = 'https://github.com/trenker/vagrant-export'
13
13
  g.summary = 'Export boxes to .box files including the original Vagrantfile and some cleanups inside the VM'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-export
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
- - Georg Großberger
7
+ - Georg Grossberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-01-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Export boxes to .box files including the original Vagrantfile and some
14
14
  cleanups inside the VM
@@ -19,6 +19,7 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - ".gitignore"
21
21
  - Gemfile
22
+ - Gemfile.lock
22
23
  - README.md
23
24
  - lib/vagrant-export.rb
24
25
  - lib/vagrant-export/command.rb