Skip to content

Commit

Permalink
Merge pull request #427 from gusztavvargadr/feature/update-for-2402-425
Browse files Browse the repository at this point in the history
Update for 2402 - Components and Docs
  • Loading branch information
gusztavvargadr authored Mar 3, 2024
2 parents 6172252 + 3086d2b commit 1adb041
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Packer

[Overview] | [Usage] | [Contributing] | [Resources]

This repository contains [Packer] templates for building Windows and Ubuntu images in various development scenarios.

> [!IMPORTANT]
Expand All @@ -18,7 +16,7 @@ This repository contains [Packer] templates for building Windows and Ubuntu imag

Ready-to-use [Vagrant] boxes built using this repository are published on [Vagrant Cloud][VagrantCloudBoxes].

See the [documentation][DocumentationOverview] for more details on the available images.
See the [documentation][DocumentationOverview] for more details on the available images for [Hyper-V], [VirtualBox] and [VMware].

[Overview]: #overview

Expand All @@ -30,7 +28,7 @@ See the [documentation][DocumentationOverview] for more details on the available

Simple [Vagrant] environments demonstrating the capabilities of the published boxes are available at the [samples][Samples].

See the [documentation][DocumentationUsage] for more details on using the images.
See the [documentation][DocumentationUsage] for more details on using the images with [Hyper-V], [VirtualBox] and [VMware].

[Usage]: #usage

Expand All @@ -40,7 +38,7 @@ See the [documentation][DocumentationUsage] for more details on using the images

Complete [Packer] templates used for building the published boxes are available at the [samples][Samples].

See the [documentation][DocumentationContributing] for more details on building the images.
See the [documentation][DocumentationContributing] for more details on building the images for [Hyper-V], [VirtualBox] and [VMware] with [Chef].

To report bugs, propose changes, request new features or provide feedback in general, please take a look at the [discussions] or [issues] first. [Pull requests] are also welcome and are greatly appreciated.

Expand Down Expand Up @@ -87,3 +85,16 @@ This repository builds on awesome ideas and solutions from the following authors
[Bento]: https://github.com/chef/bento

[Samples]: ./samples

> [!TIP]
> Are you interested in more images and providers or deployments of custom environments based on them?
>
> The following services are also available on-demand in a professional setting:
>
> - Custom images with additional virtualization and cloud providers
> - Custom build schedules with new versions published as soon as the official updates are available
> - Custom environments like build agent pools, test matrices and deployment targets based on the images
>
> Please reach out at [[email protected]][MailTo] for more details.
[MailTo]: mailto:[email protected]
13 changes: 6 additions & 7 deletions samples/core.Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
Vagrant.configure("2") do |config|
hyperv_network_bridge = ENV["VAGRANT_HYPERV_NETWORK_BRIDGE"].to_s.strip || "Default Switch"
config.vm.provider "hyperv" do |provider, override|
provider.linked_clone = true

config.vm.provider "virtualbox" do |provider, _override|
provider.linked_clone = false
override.vm.network "private_network", bridge: hyperv_network_bridge
end

config.vm.provider "vmware_desktop" do |provider, _override|
config.vm.provider "virtualbox" do |provider, _override|
provider.linked_clone = false
end

config.vm.provider "hyperv" do |provider, override|
provider.linked_clone = false

override.vm.network "private_network", bridge: hyperv_network_bridge
config.vm.provider "vmware_desktop" do |provider, _override|
provider.linked_clone = true
end

config.vm.synced_folder ".", "/vagrant", disabled: true
Expand Down
2 changes: 1 addition & 1 deletion samples/ubuntu-server/images.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ images = {

native = {
source_iso_url_local = "ubuntu-22.04.3-live-server-amd64.iso"
source_iso_url_remote = "https://releases.ubuntu.com/22.04.3/ubuntu-22.04.3-live-server-amd64.iso"
source_iso_url_remote = "https://old-releases.ubuntu.com/22.04/ubuntu-22.04.3-live-server-amd64.iso"
source_iso_checksum = "sha256:a4acfda10b18da50e2ec50ccaf860d7f20b389df8765611142305c0e911d16fd"
}

Expand Down

0 comments on commit 1adb041

Please sign in to comment.