boxes 2.2.0 → 2.3.0

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: 818d14b933aac59fa31bb6e85e9c5a97d49cb3b2
4
- data.tar.gz: a899117bff04a71863ad47a187438bd9a4a426bc
3
+ metadata.gz: dc7eeefbffeafa0186b000abeb8b9b3710e74d11
4
+ data.tar.gz: b74813d13cf99d8051f4456ef9906cdd874f379e
5
5
  SHA512:
6
- metadata.gz: bce42ebce8bf51150695c2b04d56e8037f123161181677e2d9a19186a5a746913c46965747c4d2b9147b3fe706f8df6143edddd21071b71b4c70610e315a5d78
7
- data.tar.gz: ea69c2b57dc06455dbcffb816ceb7223dd42a6e329b3873014d8d8944c3edb1390f4f569ada26a25d8c628819c779db4fdf68cbeed379a2b733eed3353c56849
6
+ metadata.gz: edd3ece8fbfa6725acfdb939a821d3339aa70af16e9ec4945b62f0846bf76ac12ef9458a82ce2fbe0769657453ef2f882f450cf71635bfd9a91b4714eb92d648
7
+ data.tar.gz: a2e5ca54402d62a893720c7f3a13ef6ee16f4f53c5ab9dab44076076191f3ef814dac5a2c124f0d67db3c3dd2d8ba815d16ba1be217d1afc180573bc20f20876
data/lib/boxes/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Versions and other declarations.
2
2
  module Boxes
3
- VERSION = "2.2.0"
3
+ VERSION = "2.3.0".freeze
4
4
  end
data/scripts/ansible.sh CHANGED
@@ -7,6 +7,7 @@ case $(lsb_release -is) in
7
7
  apt-get -qy install ansible
8
8
  ;;
9
9
  *)
10
+ apt-get -qy install libffi-dev
10
11
  easy_install pip
11
12
  pip install ansible
12
13
  ;;
@@ -35,6 +35,16 @@ curl -Lo /home/vagrant/.ssh/authorized_keys \
35
35
  chmod 0600 /home/vagrant/.ssh/authorized_keys
36
36
  chown -R vagrant:vagrant /home/vagrant/.ssh
37
37
 
38
+ # under Ubuntu 16.04 (Xenial), networking gets lost on reboot
39
+ # this is because it's renamed to follow the PCI slot
40
+ case $(lsb_release -cs) in
41
+ "xenial")
42
+ sed -i "s/ens33/ens32/g" /etc/network/interfaces
43
+ ;;
44
+ *)
45
+ ;;
46
+ esac
47
+
38
48
  # clean up any artifacts
39
49
  rm -f /home/vagrant/shutdown.sh
40
50
 
@@ -25,8 +25,8 @@
25
25
  <%- end -%>
26
26
  "headless": true,
27
27
 
28
- "iso_url": "http://cdimage.debian.org/debian-cd/8.4.0/amd64/iso-cd/debian-8.4.0-amd64-netinst.iso",
29
- "iso_checksum": "7a6b418e6a4ee3ca75dda04d79ed96c9e2c33bb0c703ca7e40c6374ab4590748",
28
+ "iso_url": "http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso",
29
+ "iso_checksum": "ad4e8c27c561ad8248d5ebc1d36eb172f884057bfeb2c22ead823f59fa8c3dff",
30
30
  "iso_checksum_type": "sha256",
31
31
 
32
32
  "ssh_username": "vagrant",
@@ -26,8 +26,8 @@
26
26
  <%- end -%>
27
27
  "headless": true,
28
28
 
29
- "iso_url": "http://old-releases.ubuntu.com/releases/14.04.3/ubuntu-14.04.3-server-amd64.iso",
30
- "iso_checksum": "a3b345908a826e262f4ea1afeb357fd09ec0558cf34e6c9112cead4bb55ccdfb",
29
+ "iso_url": "http://releases.ubuntu.com/trusty/ubuntu-14.04.4-server-amd64.iso",
30
+ "iso_checksum": "07e4bb5569814eab41fafac882ba127893e3ff0bdb7ec931c9b2d040e3e94e7a",
31
31
  "iso_checksum_type": "sha256",
32
32
 
33
33
  "ssh_username": "vagrant",
@@ -26,8 +26,8 @@
26
26
  <%- end -%>
27
27
  "headless": true,
28
28
 
29
- "iso_url": "http://releases.ubuntu.com/vivid/ubuntu-15.04-server-amd64.iso",
30
- "iso_checksum": "6501c8545374665823384bbb6235f865108f56d8a30bbf69dd18df73c14ccb84",
29
+ "iso_url": "http://releases.ubuntu.com/xenial/ubuntu-16.04-server-amd64.iso",
30
+ "iso_checksum": "b8b172cbdf04f5ff8adc8c2c1b4007ccf66f00fc6a324a6da6eba67de71746f6",
31
31
  "iso_checksum_type": "sha256",
32
32
 
33
33
  "ssh_username": "vagrant",
@@ -37,7 +37,10 @@
37
37
  "http_directory": "templates/ubuntu",
38
38
 
39
39
  "boot_command": [
40
- "<esc><esc><enter><wait>",
40
+ "<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
41
+ "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
42
+ "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
43
+ "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
41
44
  "/install/vmlinuz noapic ",
42
45
  "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
43
46
  "debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
@@ -49,7 +52,7 @@
49
52
  "initrd=/install/initrd.gz -- <enter>"
50
53
  ],
51
54
 
52
- "shutdown_command": "echo '/sbin/shutdown -h -P now' > /tmp/shutdown.sh; echo 'vagrant'|sudo -S sh '/tmp/shutdown.sh'"
55
+ "shutdown_command": "echo 'shutdown -P now' > shutdown.sh; echo 'vagrant'|sudo -S sh 'shutdown.sh'"
53
56
  }
54
57
  ],
55
58
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Charlton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide
@@ -194,8 +194,8 @@ files:
194
194
  - templates/ubuntu/precise64.erb
195
195
  - templates/ubuntu/preseed.cfg
196
196
  - templates/ubuntu/trusty64.erb
197
- - templates/ubuntu/vivid64.erb
198
197
  - templates/ubuntu/wily64.erb
198
+ - templates/ubuntu/xenial64.erb
199
199
  homepage: https://github.com/nickcharlton/boxes
200
200
  licenses:
201
201
  - MIT