Update index.html.md.erb

This commit is contained in:
Adrien Delorme 2019-12-19 15:34:26 +01:00
parent 1d066082a5
commit 31cad234f2
1 changed files with 7 additions and 3 deletions

View File

@ -64,8 +64,12 @@ source "amazon-ebs" "example-1" {
ami_name = "example-1-ami" ami_name = "example-1-ami"
} }
source "amazon-ebs" "example-2" { source "virtualbox-iso" "example-2" {
ami_name = "example-2-ami" boot_command = <<EOF
<esc><esc><enter><wait>
/install/vmlinuz noapic
...
EOF
} }
``` ```
@ -74,7 +78,7 @@ source "amazon-ebs" "example-2" {
build { build {
sources = [ sources = [
"source.amazon-ebs.example-1", "source.amazon-ebs.example-1",
"source.amazon-ebs.example-2" "source.virtualbox-iso.example-2"
] ]
provisioner "shell" { provisioner "shell" {