diff --git a/build.cake b/build.cake index 9a22d3a5..b66f3fc1 100644 --- a/build.cake +++ b/build.cake @@ -2,7 +2,7 @@ var configuration = Argument("configuration", string.Empty); var target = Argument("target", "default"); var author = Argument("author", "gusztavvargadr"); -var version = Argument("version", "2407"); +var version = Argument("version", "2408"); var configurationParts = configuration.Split('/', StringSplitOptions.RemoveEmptyEntries); var sample = configurationParts.ElementAtOrDefault(0) ?? Argument("sample"); diff --git a/lib/gusztavvargadr/chef b/lib/gusztavvargadr/chef index 91c8194d..e9ef3797 160000 --- a/lib/gusztavvargadr/chef +++ b/lib/gusztavvargadr/chef @@ -1 +1 @@ -Subproject commit 91c8194df41049be8fe9989f32127de07d5894ad +Subproject commit e9ef3797f04bf795532890f041569e83c13709b7 diff --git a/samples/windows-server/images.pkrvars.hcl b/samples/windows-server/images.pkrvars.hcl index a5caf1d1..fa825f11 100644 --- a/samples/windows-server/images.pkrvars.hcl +++ b/samples/windows-server/images.pkrvars.hcl @@ -18,7 +18,7 @@ images = { } virtualbox = { - guest_os_type = "Windows2019_64" + guest_os_type = "Windows2022_64" } vmware = { @@ -45,7 +45,7 @@ images = { } virtualbox = { - guest_os_type = "Windows2019_64" + guest_os_type = "Windows2022_64" } vmware = { @@ -117,7 +117,7 @@ images = { } virtualbox = { - guest_os_type = "Windows2019_64" + guest_os_type = "Windows2022_64" } vmware = { @@ -141,7 +141,7 @@ images = { } virtualbox = { - guest_os_type = "Windows2019_64" + guest_os_type = "Windows2022_64" } vmware = { diff --git a/src/ubuntu/chef/cookbooks/gusztavvargadr_packer_ubuntu/recipes/initialize.rb b/src/ubuntu/chef/cookbooks/gusztavvargadr_packer_ubuntu/recipes/initialize.rb index e482c9fa..c9767973 100644 --- a/src/ubuntu/chef/cookbooks/gusztavvargadr_packer_ubuntu/recipes/initialize.rb +++ b/src/ubuntu/chef/cookbooks/gusztavvargadr_packer_ubuntu/recipes/initialize.rb @@ -2,7 +2,7 @@ action :update end -if !vbox? && !vmware? && !ec2? +if hyperv? apt_package [ 'linux-image-virtual', 'linux-tools-virtual', 'linux-cloud-tools-virtual' ] do action :upgrade notifies :request_reboot, 'reboot[gusztavvargadr_packer_ubuntu]', :immediately