Skip to content

Commit

Permalink
Added support for specifying the guest_additions_url as a variable to…
Browse files Browse the repository at this point in the history
… all the json templates to allow the user to specify a custom VirtualBox Guest Additions ISO if necessary.
  • Loading branch information
arizvisa committed Dec 31, 2017
1 parent 5af0d4a commit 375b90f
Show file tree
Hide file tree
Showing 44 changed files with 88 additions and 0 deletions.
2 changes: 2 additions & 0 deletions centos/centos-6.9-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "RedHat",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -181,6 +182,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "centos-6.9-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions centos/centos-6.9-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "RedHat_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -181,6 +182,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "centos-6.9",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions centos/centos-7.4-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "RedHat_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -181,6 +182,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "centos-7.4",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-7.11-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -211,6 +212,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-7.11",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-7.11-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -211,6 +212,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-7.11-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-8.10-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -217,6 +218,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-8.10",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-8.10-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -217,6 +218,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-8.10-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-9.3-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -217,6 +218,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-9.3",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions debian/debian-9.3-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Debian",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -217,6 +218,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "debian-9.3-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions fedora/fedora-26-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Fedora_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -156,6 +157,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "64",
"box_basename": "fedora-26",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions fedora/fedora-27-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Fedora_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -156,6 +157,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "64",
"box_basename": "fedora-27",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions freebsd/freebsd-10.3-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "FreeBSD_64",
"headless": "{{ user `headless` }}",
"http_directory": "http",
Expand Down Expand Up @@ -205,6 +206,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "freebsd-10.3",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions freebsd/freebsd-10.3-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "FreeBSD",
"headless": "{{ user `headless` }}",
"http_directory": "http",
Expand Down Expand Up @@ -205,6 +206,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "freebsd-10.3-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions freebsd/freebsd-10.4-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "FreeBSD_64",
"headless": "{{ user `headless` }}",
"http_directory": "http",
Expand Down Expand Up @@ -205,6 +206,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "freebsd-10.4",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions freebsd/freebsd-10.4-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "FreeBSD",
"headless": "{{ user `headless` }}",
"http_directory": "http",
Expand Down Expand Up @@ -205,6 +206,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "freebsd-10.4-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions freebsd/freebsd-11.1-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "FreeBSD_64",
"headless": "{{ user `headless` }}",
"http_directory": "http",
Expand Down Expand Up @@ -205,6 +206,7 @@
}
],
"variables": {
"guest_additions_url": "",
"box_basename": "freebsd-11.1",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
Expand Down
2 changes: 2 additions & 0 deletions macos/macos-10.12.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"boot_wait": "2s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_mode": "disable",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "MacOS1011_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -223,6 +224,7 @@
}
],
"variables": {
"guest_additions_url": "",
"_README": "You must provide a prepared Mac disk image (from https://github.com/timsutton/osx-vm-templates) and checksum value for this template to work. For more details, consult this project's README.md",
"box_basename": "macos-10.12",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions macos/macosx-10.10.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"boot_wait": "2s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_mode": "disable",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "MacOS109_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -223,6 +224,7 @@
}
],
"variables": {
"guest_additions_url": "",
"_README": "You must provide a prepared Mac disk image (from https://github.com/timsutton/osx-vm-templates) and checksum value for this template to work. For more details, consult this project's README.md",
"box_basename": "macosx-10.10",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions macos/macosx-10.11.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"boot_wait": "2s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_mode": "disable",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "MacOS1011_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -223,6 +224,7 @@
}
],
"variables": {
"guest_additions_url": "",
"_README": "You must provide a prepared Mac disk image (from https://github.com/timsutton/osx-vm-templates) and checksum value for this template to work. For more details, consult this project's README.md",
"box_basename": "macosx-10.11",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions macos/macosx-10.9.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"boot_wait": "2s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_mode": "disable",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "MacOS109_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -223,6 +224,7 @@
}
],
"variables": {
"guest_additions_url": "",
"_README": "You must provide a prepared Mac disk image (from https://github.com/timsutton/osx-vm-templates) and checksum value for this template to work. For more details, consult this project's README.md",
"box_basename": "macosx-10.9",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions opensuse/opensuse-leap-42.3-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "OpenSUSE_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -186,6 +187,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "64",
"autoinst_cfg": "autoinst.xml",
"box_basename": "opensuse-leap-42.3",
Expand Down
2 changes: 2 additions & 0 deletions oraclelinux/oracle-5.11-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Oracle",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -153,6 +154,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "32",
"box_basename": "oracle-5.11-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions oraclelinux/oracle-5.11-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Oracle_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -159,6 +160,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "64",
"box_basename": "oracle-5.11",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions oraclelinux/oracle-6.9-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Oracle",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -154,6 +155,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "32",
"box_basename": "oracle-6.9-i386",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
2 changes: 2 additions & 0 deletions oraclelinux/oracle-6.9-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"boot_wait": "10s",
"disk_size": "{{user `disk_size`}}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Oracle_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
Expand Down Expand Up @@ -154,6 +155,7 @@
}
],
"variables": {
"guest_additions_url": "",
"arch": "64",
"box_basename": "oracle-6.9",
"build_timestamp": "{{isotime \"20060102150405\"}}",
Expand Down
Loading

0 comments on commit 375b90f

Please sign in to comment.