From 88b275715ee455604435e3c788f3c88a85116db7 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 12 Dec 2017 21:00:18 -0800 Subject: [PATCH 1/2] clarify that there are cloud providers that support nested virtualization --- .../build-virtualbox-image.html.md | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md b/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md index 1d6fc5bb6..c1e5c8978 100644 --- a/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md +++ b/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md @@ -10,10 +10,12 @@ This guide walks through the process of building a VirtualBox image using Packer on a new TeamCity Agent. Before getting started you should have access to a TeamCity Server. -The Packer VirtualBox builder requires access to VirtualBox, which needs to run -on a bare-metal machine, as virtualization is generally not supported on cloud -instances. This is also true for the [VMWare](/docs/builders/vmware.html) and -the [QEMU](/docs/builders/qemu.html) Packer builders. +The Packer VirtualBox builder requires access to VirtualBox. Virtualization is +not universally available on cloud instances, so we recommend you run these +builds on either a bare metal server, or cloud instances which support nested +virtualization, such as Azure or GCP. This is also true for the +[VMWare](/docs/builders/vmware.html) and the [QEMU](/docs/builders/qemu.html) +Packer builders. We will use Chef's [Bento boxes](https://github.com/chef/bento) to provision an Ubuntu image on VirtualBox. For this example, we will use the repository @@ -21,13 +23,12 @@ directly, but you may also fork it for the same results. ## 1. Provision a Bare-metal Machine -The Packer VirtualBox builder requires running on bare-metal (hardware). If you -do not have access to a bare-metal machine, we recommend using -[Packet.net](https://www.packet.net/) to obtain a new machine. If you are -a first time user of Packet.net, the Packet.net team has provided HashiCorp the -coupon code `hash25` which you can use for $25 off to test out this guide. You -can use a `baremetal_0` server type for testing, but for regular use, the -`baremetal_1` instance may be a better option. +For the purposes of this example, we will run on a bare-metal instance from +[Packet.net](https://www.packet.net/). If you are a first time user of +Packet.net, the Packet.net team has provided HashiCorp the coupon code `hash25` +which you can use for $25 off to test out this guide. You can use +a `baremetal_0` server type for testing, but for regular use, the `baremetal_1` +instance may be a better option. There is also a [Packet Provider](https://www.terraform.io/docs/providers/packet/index.html) in From 4ed60ba7899685ca97a7e3ee2b3ae58f6d93c405 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 12 Dec 2017 21:07:12 -0800 Subject: [PATCH 2/2] clarify support vs availability. --- .../source/guides/packer-on-cicd/build-virtualbox-image.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md b/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md index c1e5c8978..7360e3931 100644 --- a/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md +++ b/website/source/guides/packer-on-cicd/build-virtualbox-image.html.md @@ -11,7 +11,7 @@ Packer on a new TeamCity Agent. Before getting started you should have access to a TeamCity Server. The Packer VirtualBox builder requires access to VirtualBox. Virtualization is -not universally available on cloud instances, so we recommend you run these +not universally supported on cloud instances, so we recommend you run these builds on either a bare metal server, or cloud instances which support nested virtualization, such as Azure or GCP. This is also true for the [VMWare](/docs/builders/vmware.html) and the [QEMU](/docs/builders/qemu.html)