From a0646d02e1b81c778a80db17744e12ec708a114d Mon Sep 17 00:00:00 2001 From: graevy <51971268+graevy@users.noreply.github.com> Date: Thu, 6 Jun 2024 06:28:47 +0000 Subject: [PATCH 1/3] backport of commit c2219bdf740d7aa64942e8397f23c77ef2a950e6 --- .../automatic-operating-system-installs/preseed_ubuntu.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx index c5c9ea204..d0398b96d 100644 --- a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx +++ b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx @@ -171,6 +171,4 @@ containing the "http" directory. ], ``` -For more functional examples of a debian preseeded installation, you can see the -Chef-maintained bento boxes for [Debian](https://github.com/chef/bento/tree/master/packer_templates/debian) -and [Ubuntu](https://github.com/chef/bento/tree/master/packer_templates/ubuntu) +For more functional examples of a Debian preseeded installation, you can see the Chef-maintained [bento](https://github.com/chef/bento?tab=readme-ov-file#using-packer) box [preseed](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/debian/preseed.cfg), the Ubuntu [autoinstall config](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/ubuntu/user-data), their [builders](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/pkr-builder.pkr.hcl), or the legacy .json templates for [Debian](https://web.archive.org/web/20220508073539mp_/https://github.com/chef/bento/blob/main/packer_templates/debian/debian-10.11-amd64.json) and [Ubuntu](https://web.archive.org/web/20211101220217/https://github.com/chef/bento/blob/main/packer_templates/ubuntu/ubuntu-20.04-amd64.json). From c392ad7fc33f6550e08e3e79b95648ea1a9613ac Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Fri, 21 Jun 2024 19:55:02 +0000 Subject: [PATCH 2/3] backport of commit 9ecb83e805a35383d924031d4719b861770e5d5a --- .../automatic-operating-system-installs/preseed_ubuntu.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx index d0398b96d..5848589b1 100644 --- a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx +++ b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx @@ -171,4 +171,5 @@ containing the "http" directory. ], ``` -For more functional examples of a Debian preseeded installation, you can see the Chef-maintained [bento](https://github.com/chef/bento?tab=readme-ov-file#using-packer) box [preseed](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/debian/preseed.cfg), the Ubuntu [autoinstall config](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/ubuntu/user-data), their [builders](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/pkr-builder.pkr.hcl), or the legacy .json templates for [Debian](https://web.archive.org/web/20220508073539mp_/https://github.com/chef/bento/blob/main/packer_templates/debian/debian-10.11-amd64.json) and [Ubuntu](https://web.archive.org/web/20211101220217/https://github.com/chef/bento/blob/main/packer_templates/ubuntu/ubuntu-20.04-amd64.json). +For more functional examples of a Debian preseeded installation, you can refer to the Chef-maintained [bento](https://github.com/chef/bento#using-packer) box [preseed](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/debian/preseed.cfg), +the Ubuntu [autoinstall config](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/http/ubuntu/user-data), their [builders](https://github.com/chef/bento/blob/6fe9fa20d1f37e916a7babdee87c89ba38ce54a4/packer_templates/pkr-builder.pkr.hcl). From 88b8bb263370392e43ce63a9616a98bd54927fb8 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Fri, 21 Jun 2024 19:57:48 +0000 Subject: [PATCH 3/3] backport of commit 89b1d57f34639537eb8504f4b2c67b4a7d5c5cbf --- .../automatic-operating-system-installs/preseed_ubuntu.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx index 5848589b1..5f2bfcd98 100644 --- a/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx +++ b/website/content/guides/automatic-operating-system-installs/preseed_ubuntu.mdx @@ -46,12 +46,12 @@ local fileserver for your virtual machine to be able to access. One very common use for this directory is to use it to provide your preseed file. You then reference the file using a `boot_command` to kick off the installation. -In the example below, see how the `preseed/url` command line option is being +In the example below, the `preseed/url` command line option is being used in the `/install/vmlinuz command`. The `{{ .HTTPIP }}` and `{{ .HTTPPort }}` options are special Packer template options that will get set by Packer to point to the HTTP server we create, so that your boot command can -access it. For an example of a working boot_command, see the Examples section -below. For more information on how boot_command works, see the +access it. For an example of a working boot_command, refer to the Examples section +below. For more information on how boot_command works, refer to the boot_command section of the docs for whatever builder you are using. ## What does Packer _need_ the preseed file to do?