diff --git a/website/source/docs/builders/ncloud.html.md b/website/source/docs/builders/ncloud.html.md index ff1f8f484..1aacf633f 100644 --- a/website/source/docs/builders/ncloud.html.md +++ b/website/source/docs/builders/ncloud.html.md @@ -64,6 +64,8 @@ Platform](https://www.ncloud.com/). ## Sample code of template.json +Here is a basic example for windows server. + { "variables": { "ncloud_access_key": "FRxhOQRNjKVMqIz3sRLY", @@ -88,6 +90,31 @@ Platform](https://www.ncloud.com/). ] } + +Here is a basic example for linux server. + + { + "variables": { + "ncloud_access_key": "FRxhOQRNjKVMqIz3sRLY", + "ncloud_secret_key": "xd6kTO5iNcLookBx0D8TDKmpLj2ikxqEhc06MQD2" + }, + "builders": [ + { + "type": "ncloud", + "access_key": "{{user `ncloud_access_key`}}", + "secret_key": "{{user `ncloud_secret_key`}}", + + "server_image_product_code": "SPSW0LINUX000044", + "server_product_code": "SPSVRSSD00000002", + "server_image_name": "packertest2", + "server_image_description": "server image description", + "region": "US-West", + "communicator": "ssh", + "ssh_username": "root" + } + ] + } + ## Requirements for creating Windows images You should include the following code in the packer configuration file for