From 6135b0bf484f19e644cba3ebb33a9097ade98d75 Mon Sep 17 00:00:00 2001 From: raylu Date: Tue, 5 Sep 2017 17:20:48 -0700 Subject: [PATCH] Fix ubuntu source_ami_filter examples Canonical publishes stable AMIs at ubuntu/images/ and unstable AMIs at ubuntu/images-testing/. Combined with most_recent: true, the old name filter bounces you between stable and unstable. --- website/source/docs/builders/amazon-chroot.html.md | 2 +- website/source/docs/builders/amazon-ebs.html.md | 2 +- website/source/docs/builders/amazon-ebssurrogate.html.md | 2 +- website/source/docs/builders/amazon-ebsvolume.html.md | 2 +- website/source/docs/builders/amazon-instance.html.md | 2 +- website/source/intro/getting-started/build-image.html.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/source/docs/builders/amazon-chroot.html.md b/website/source/docs/builders/amazon-chroot.html.md index ac46e2846..d1ba50d86 100644 --- a/website/source/docs/builders/amazon-chroot.html.md +++ b/website/source/docs/builders/amazon-chroot.html.md @@ -269,7 +269,7 @@ each category, the available configuration keys are alphabetized. "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"], diff --git a/website/source/docs/builders/amazon-ebs.html.md b/website/source/docs/builders/amazon-ebs.html.md index e5f1e852b..f144fbbad 100644 --- a/website/source/docs/builders/amazon-ebs.html.md +++ b/website/source/docs/builders/amazon-ebs.html.md @@ -264,7 +264,7 @@ builder. "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"], diff --git a/website/source/docs/builders/amazon-ebssurrogate.html.md b/website/source/docs/builders/amazon-ebssurrogate.html.md index 5788fa65e..f60f6de10 100644 --- a/website/source/docs/builders/amazon-ebssurrogate.html.md +++ b/website/source/docs/builders/amazon-ebssurrogate.html.md @@ -257,7 +257,7 @@ builder. "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"], diff --git a/website/source/docs/builders/amazon-ebsvolume.html.md b/website/source/docs/builders/amazon-ebsvolume.html.md index 959047fd8..06da83998 100644 --- a/website/source/docs/builders/amazon-ebsvolume.html.md +++ b/website/source/docs/builders/amazon-ebsvolume.html.md @@ -170,7 +170,7 @@ builder. "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"], diff --git a/website/source/docs/builders/amazon-instance.html.md b/website/source/docs/builders/amazon-instance.html.md index 5f375e898..8bbd72b8b 100644 --- a/website/source/docs/builders/amazon-instance.html.md +++ b/website/source/docs/builders/amazon-instance.html.md @@ -262,7 +262,7 @@ builder. "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"], diff --git a/website/source/intro/getting-started/build-image.html.md b/website/source/intro/getting-started/build-image.html.md index 9da68041e..2e9a67768 100644 --- a/website/source/intro/getting-started/build-image.html.md +++ b/website/source/intro/getting-started/build-image.html.md @@ -58,7 +58,7 @@ briefly. Create a file `example.json` and fill it with the following contents: "source_ami_filter": { "filters": { "virtualization-type": "hvm", - "name": "*ubuntu-xenial-16.04-amd64-server-*", + "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "root-device-type": "ebs" }, "owners": ["099720109477"],