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" {