From 66f142adf1f3724a2018596a14a026a875f8c842 Mon Sep 17 00:00:00 2001 From: "mingsheng.su" Date: Fri, 26 Jul 2019 17:27:58 +0800 Subject: [PATCH] update docs --- builder/ucloud/uhost/step_copy_image.go | 2 +- website/source/docs/builders/ucloud-uhost.html.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/builder/ucloud/uhost/step_copy_image.go b/builder/ucloud/uhost/step_copy_image.go index 2833a1d4a..dab78bbd7 100644 --- a/builder/ucloud/uhost/step_copy_image.go +++ b/builder/ucloud/uhost/step_copy_image.go @@ -30,7 +30,7 @@ func (s *stepCopyUCloudImage) Run(ctx context.Context, state multistep.StateBag) srcImageId := state.Get("image_id").(string) artifactImages := state.Get("ucloud_images").(*imageInfoSet) expectedImages := newImageInfoSet(nil) - ui.Say(fmt.Sprintf("Copying images form %q...", srcImageId)) + ui.Say(fmt.Sprintf("Copying images from %q...", srcImageId)) for _, v := range s.ImageDestinations { if v.ProjectId == s.ProjectId && v.Region == s.RegionId { continue diff --git a/website/source/docs/builders/ucloud-uhost.html.md b/website/source/docs/builders/ucloud-uhost.html.md index ad6f6478a..0bdce3f72 100644 --- a/website/source/docs/builders/ucloud-uhost.html.md +++ b/website/source/docs/builders/ucloud-uhost.html.md @@ -148,7 +148,6 @@ Here is a example for build UCloud Ubuntu image: } ``` - -> **Note:** Packer can also read the public key and private key from environmental variables. See the configuration reference in the section above for more information on what environmental variables Packer will look for.