boxes 3.5.0 → 3.6.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
  SHA256:
3
- metadata.gz: 64f7614db739d07260c15f81d3814fd5314caa0a3771008c04e601852e8c9155
4
- data.tar.gz: 11fd1f51aece67b81e2c3b49e82f768da36a3f08763f95b7c87a32083a094f8a
3
+ metadata.gz: f21ede859326c802921642f956647ef2d2193c97f2996fe0f20228c22e86ab0f
4
+ data.tar.gz: 4f96a5972faf148522c9065244d37d7cd4de98f3e72bb263e693d33ac76068b5
5
5
  SHA512:
6
- metadata.gz: bdd2f70eeacaf86e775754ae870695f57141bcb630a9cae505c821af26fe5176b53cabb95fbcb95f72a371294fd23a6302550b2735f6bd8c697f0199d0f50300
7
- data.tar.gz: fc201425ff25f3a7c214688c14a658c9588324d92910398c1fe78e67c089c008486f3efeeb9c909240fa779cda04d40aa01da205b1b6d04c71bf8ac6db1650c6
6
+ metadata.gz: f43653aab7c865feacf54e53f723c1f4c21d25189f1d7713308c621976cd95b6492856367da17151a037046e90be31989016cd7b84a33c90ca675c7548e8451f
7
+ data.tar.gz: b534c810023c28e638385759095c7b66689f76f3d8da1671fdf2d64827161b9c94290fdc346c154b26191c6d475945f581e29233adc1cd30e47b2f162ee593fb
@@ -1,5 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.6.0 (04/04/2020)
4
+
5
+ * Update Rubies to current latest:
6
+ - 2.4.10
7
+ - 2.5.8
8
+ - 2.6.6
9
+ - 2.7.1
10
+ * Add Debian Buster (10).
11
+ * Switch Debian Stretch to an archive URL.
12
+ * Update Ubuntu Bionic from 18.04.2 to 18.04.4.
13
+
3
14
  ## 3.5.0 (27/05/2019)
4
15
 
5
16
  * Refresh Rubies:
@@ -1,3 +1,3 @@
1
1
  module Boxes
2
- VERSION = "3.5.0".freeze
2
+ VERSION = "3.6.0".freeze
3
3
  end
@@ -27,10 +27,10 @@ cd ruby-install-$rubyinstall_version/
27
27
  make install
28
28
 
29
29
  # install a set of recent MRI Rubies.
30
- ruby-install ruby 2.3.8
31
- ruby-install ruby 2.4.6
32
- ruby-install ruby 2.5.5
33
- ruby-install ruby 2.6.3
30
+ ruby-install ruby 2.4.10
31
+ ruby-install ruby 2.5.8
32
+ ruby-install ruby 2.6.6
33
+ ruby-install ruby 2.7.1
34
34
 
35
35
  # update gems and install bundler
36
36
  source /usr/local/share/chruby/chruby.sh
@@ -0,0 +1,60 @@
1
+ {
2
+ "provisioners": [
3
+ {
4
+ "type": "shell",
5
+ "scripts": [
6
+ "scripts/postinstall.sh",
7
+ "scripts/vmtools.sh",
8
+ <%- @scripts.each do |script| -%>
9
+ "scripts/<%= script %>",
10
+ <%- end -%>
11
+ "scripts/purge.sh"
12
+ ],
13
+ "execute_command": "echo 'vagrant' | {{ .Vars }} sudo -E -S bash '{{ .Path }}'"
14
+ }
15
+ ],
16
+ "builders": [
17
+ {
18
+ "name": "<%= @name %>",
19
+ "type": "<%= @provider %>-iso",
20
+ <%- if @provider == "vmware" -%>
21
+ "guest_os_type": "debian8-64",
22
+ "tools_upload_flavor": "linux",
23
+ <%- else -%>
24
+ "guest_os_type": "Debian_64",
25
+ <%- end -%>
26
+ "headless": true,
27
+
28
+ "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.3.0-amd64-netinst.iso",
29
+ "iso_checksum": "6a901b5abe43d88b39d627e1339d15507cc38f980036b928f835e0f0e957d3d8",
30
+ "iso_checksum_type": "sha256",
31
+
32
+ "ssh_username": "vagrant",
33
+ "ssh_password": "vagrant",
34
+ "ssh_timeout": "15m",
35
+
36
+ "http_directory": "templates/debian",
37
+
38
+ "boot_command": [
39
+ "<esc><wait>",
40
+ "install ",
41
+ "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
42
+ "debian-installer=en_US auto=true locale=en_US kbd-chooser/method=us ",
43
+ "netcfg/get_hostname={{ .Name }} ",
44
+ "netcfg/get_domain=vagrantup.com ",
45
+ "fb=false debconf/frontend=noninteractive ",
46
+ "console-setup/ask_detect=false console-keymaps-at/keymap=us ",
47
+ "keyboard-configuration/xkb-keymap=us ",
48
+ "<enter>"
49
+ ],
50
+
51
+ "shutdown_command": "echo 'shutdown -h now' > shutdown.sh; echo 'vagrant'|sudo -S sh 'shutdown.sh'"
52
+ }
53
+ ],
54
+
55
+ "post-processors": [
56
+ {
57
+ "type": "vagrant"
58
+ }
59
+ ]
60
+ }
@@ -38,7 +38,7 @@
38
38
  "boot_command": [
39
39
  "<esc><wait>",
40
40
  "install ",
41
- "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
41
+ "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-legacy.cfg ",
42
42
  "debian-installer=en_US auto=true locale=en_US kbd-chooser/method=us ",
43
43
  "netcfg/get_hostname={{ .Name }} ",
44
44
  "netcfg/get_domain=vagrantup.com ",
@@ -0,0 +1,76 @@
1
+ #
2
+ # Based upon: https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt
3
+ #
4
+
5
+ # localisation
6
+ d-i debian-installer/locale string en_US.utf8
7
+ d-i console-keymaps-at/keymap select us
8
+
9
+ # networking
10
+ d-i netcfg/choose_interface select auto
11
+ d-i netcfg/get_hostname string unassigned-hostname
12
+ d-i netcfg/get_domain string unassigned-domain
13
+ d-i netcfg/wireless_wep string
14
+
15
+ # apt mirrors
16
+ d-i mirror/country string manual
17
+ d-i mirror/http/hostname string http.us.debian.org
18
+ d-i mirror/http/directory string /debian
19
+ d-i mirror/http/proxy string
20
+
21
+ # clock and time zone
22
+ d-i clock-setup/utc boolean true
23
+ d-i time/zone string GMT
24
+ d-i clock-setup/ntp boolean true
25
+
26
+ # partitioning
27
+ d-i partman-auto/method string lvm
28
+ d-i partman-lvm/device_remove_lvm boolean true
29
+ d-i partman-md/device_remove_md boolean true
30
+ d-i partman-lvm/confirm boolean true
31
+ d-i partman-lvm/confirm_nooverwrite boolean true
32
+
33
+ #d-i partman-auto-lvm/guided_size string max
34
+ d-i partman-auto/choose_recipe select atomic
35
+ d-i partman-partitioning/confirm_write_new_label boolean true
36
+ d-i partman/choose_partition select finish
37
+ d-i partman/confirm boolean true
38
+ d-i partman/confirm_nooverwrite boolean true
39
+
40
+ # users
41
+ d-i passwd/root-login boolean false
42
+ d-i passwd/user-fullname string Vagrant User
43
+ d-i passwd/username string vagrant
44
+ d-i passwd/user-password password vagrant
45
+ d-i passwd/user-password-again password vagrant
46
+ d-i user-setup/allow-password-weak boolean true
47
+ d-i user-setup/encrypt-home boolean false
48
+
49
+ # packages
50
+ tasksel tasksel/first multiselect standard
51
+ #d-i pkgsel/install-language-support boolean false
52
+ d-i pkgsel/include string openssh-server nfs-common curl ntp acpid sudo \
53
+ bzip2 rsync git ca-certificates net-tools
54
+ d-i pkgsel/upgrade select full-upgrade
55
+ d-i pkgsel/update-policy select none
56
+ d-i popularity-contest/participate boolean false
57
+ d-i preseed/late_command string sed -i '/^deb cdrom:/s/^/#/' /target/etc/apt/sources.list
58
+ apt-cdrom-setup apt-setup/cdrom/set-first boolean false
59
+ apt-mirror-setup apt-setup/use_mirror boolean true
60
+ d-i mirror/http/hostname string debian.ethz.ch
61
+ d-i mirror/http/directory string /debian
62
+ postfix postfix/main_mailer_type select No configuration
63
+
64
+ # boot loader
65
+ d-i grub-installer/bootdev string default
66
+ d-i grub-installer/only_debian boolean true
67
+
68
+ # hide the shutdown notice
69
+ d-i finish-install/reboot_in_progress note
70
+
71
+ # advanced options
72
+
73
+ # ensure the default VirtualBox additions doesn't install
74
+ d-i preseed/early_command string sed -i \
75
+ '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
76
+ /usr/lib/pre-pkgsel.d/20install-hwpackages
@@ -29,6 +29,7 @@ d-i partman-lvm/device_remove_lvm boolean true
29
29
  d-i partman-md/device_remove_md boolean true
30
30
  d-i partman-lvm/confirm boolean true
31
31
  d-i partman-lvm/confirm_nooverwrite boolean true
32
+ d-i partman-auto-lvm/guided_size string max
32
33
 
33
34
  #d-i partman-auto-lvm/guided_size string max
34
35
  d-i partman-auto/choose_recipe select atomic
@@ -54,7 +55,6 @@ d-i pkgsel/include string openssh-server nfs-common curl ntp acpid sudo \
54
55
  d-i pkgsel/upgrade select full-upgrade
55
56
  d-i pkgsel/update-policy select none
56
57
  d-i popularity-contest/participate boolean false
57
- d-i preseed/late_command string sed -i '/^deb cdrom:/s/^/#/' /target/etc/apt/sources.list
58
58
  apt-cdrom-setup apt-setup/cdrom/set-first boolean false
59
59
  apt-mirror-setup apt-setup/use_mirror boolean true
60
60
  postfix postfix/main_mailer_type select No configuration
@@ -72,3 +72,9 @@ d-i finish-install/reboot_in_progress note
72
72
  d-i preseed/early_command string sed -i \
73
73
  '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
74
74
  /usr/lib/pre-pkgsel.d/20install-hwpackages
75
+
76
+ # change how dhcp leases are fetched, back to using the MAC address to stop
77
+ # getting new lease during the build
78
+ d-i preseed/late_command string in-target sed -i \
79
+ 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' \
80
+ /etc/dhcp/dhclient.conf
@@ -25,7 +25,7 @@
25
25
  <%- end -%>
26
26
  "headless": true,
27
27
 
28
- "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso",
28
+ "iso_url": "http://debian.ethz.ch/debian-cd/9.9.0/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso",
29
29
  "iso_checksum": "d4a22c81c76a66558fb92e690ef70a5d67c685a08216701b15746586520f6e8e",
30
30
  "iso_checksum_type": "sha256",
31
31
 
@@ -38,7 +38,7 @@
38
38
  "boot_command": [
39
39
  "<esc><wait>",
40
40
  "install ",
41
- "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
41
+ "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-legacy.cfg ",
42
42
  "debian-installer=en_US auto=true locale=en_US kbd-chooser/method=us ",
43
43
  "netcfg/get_hostname={{ .Name }} ",
44
44
  "netcfg/get_domain=vagrantup.com ",
@@ -26,8 +26,8 @@
26
26
  <%- end -%>
27
27
  "headless": true,
28
28
 
29
- "iso_url": "http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-amd64.iso",
30
- "iso_checksum": "a2cb36dc010d98ad9253ea5ad5a07fd6b409e3412c48f1860536970b073c98f5",
29
+ "iso_url": "http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04.4-server-amd64.iso",
30
+ "iso_checksum": "e2ecdace33c939527cbc9e8d23576381c493b071107207d2040af72595f8990b",
31
31
  "iso_checksum_type": "sha256",
32
32
 
33
33
  "ssh_username": "vagrant",
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: 3.5.0
4
+ version: 3.6.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: 2019-05-27 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide
@@ -194,7 +194,9 @@ files:
194
194
  - spec/support/subprocess_command.sh
195
195
  - spec/support/tmp.rb
196
196
  - spec/tmp/.gitkeep
197
+ - templates/debian/buster64.erb
197
198
  - templates/debian/jessie64.erb
199
+ - templates/debian/preseed-legacy.cfg
198
200
  - templates/debian/preseed.cfg
199
201
  - templates/debian/stretch64.erb
200
202
  - templates/ubuntu/bionic64.erb