From 31cad234f28e94464a14f7b833b7ac8546426e2f Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 19 Dec 2019 15:34:26 +0100 Subject: [PATCH] Update index.html.md.erb --- website/source/guides/hcl/index.html.md.erb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/website/source/guides/hcl/index.html.md.erb b/website/source/guides/hcl/index.html.md.erb index 802954164..555d06c94 100644 --- a/website/source/guides/hcl/index.html.md.erb +++ b/website/source/guides/hcl/index.html.md.erb @@ -64,8 +64,12 @@ source "amazon-ebs" "example-1" { ami_name = "example-1-ami" } -source "amazon-ebs" "example-2" { - ami_name = "example-2-ami" +source "virtualbox-iso" "example-2" { + boot_command = < +/install/vmlinuz noapic +... +EOF } ``` @@ -74,7 +78,7 @@ source "amazon-ebs" "example-2" { build { sources = [ "source.amazon-ebs.example-1", - "source.amazon-ebs.example-2" + "source.virtualbox-iso.example-2" ] provisioner "shell" {