Skip to content

Commit

Permalink
Merge pull request #397 from gusztavvargadr/feature/pin-provider-vers…
Browse files Browse the repository at this point in the history
…ions-396

Pin provider versions
  • Loading branch information
gusztavvargadr committed Jun 1, 2023
2 parents 1bf68d4 + 013df05 commit 4741575
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var target = Argument("target", "default");
var configuration = Argument("configuration", string.Empty);
var recursive = Argument("recursive", false);
var version = "2305";
var version = "230501";

var buildDirectory = Argument("build-directory", "./build");
PackerTemplate.BuildDirectory = buildDirectory;
Expand Down
6 changes: 0 additions & 6 deletions src/u/packer/builders/virtualbox-iso/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
"{{.Name}}",
"--cpus",
"{{user `virtualbox_cpus`}}"
],
[
"modifyvm",
"{{.Name}}",
"--nat-localhostreachable1",
"on"
]
],
"disk_size": "{{user `virtualbox_disk_size`}}",
Expand Down
6 changes: 0 additions & 6 deletions src/u/packer/builders/virtualbox-ovf/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
"{{.Name}}",
"--cpus",
"{{user `virtualbox_cpus`}}"
],
[
"modifyvm",
"{{.Name}}",
"--nat-localhostreachable1",
"on"
]
],
"boot_wait": "{{user `virtualbox_boot_wait`}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ virtualbox-iso)
apt-get -y update;

# VER="`cat $HOME_DIR/.vbox_version`";
VER="7.0.6";
VER="6.1.44";
ISO="VBoxGuestAdditions_$VER.iso";
wget http://download.virtualbox.org/virtualbox/$VER/$ISO
mkdir -p /tmp/vbox;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
action :nothing
end

vbox_version = powershell_out('cat $env:HOME/.vbox_version').stdout.strip
# vbox_version = powershell_out('cat $env:HOME/.vbox_version').stdout.strip
vbox_version = '6.1.44'
vbox_guest_additions_path = "#{Chef::Config['file_cache_path']}/VBoxGuestAdditions.iso"
vbox_guest_additions_source = "https://download.virtualbox.org/virtualbox/#{vbox_version}/VBoxGuestAdditions_#{vbox_version}.iso"

Expand Down

0 comments on commit 4741575

Please sign in to comment.