update docs && examples
This commit is contained in:
parent
787485f66f
commit
00ae304919
|
@ -15,17 +15,18 @@
|
|||
"instance_type": "n-basic-2",
|
||||
"source_image_id":"uimage-f1chxn",
|
||||
"ssh_username":"root",
|
||||
"image_name": "packer-test-regionCopy-bj",
|
||||
"image_name": "packer-test-basic-bj",
|
||||
"image_copy_to_mappings": [{
|
||||
"project_id": "org-fthbzm",
|
||||
"project_id": "{{user `ucloud_project_id`}}",
|
||||
"region": "cn-sh2",
|
||||
"description": "test"
|
||||
"description": "test",
|
||||
"name": "packer-test-basic-sh"
|
||||
}]
|
||||
}],
|
||||
"provisioners": [{
|
||||
"type": "shell",
|
||||
"inline": [
|
||||
"yum install mysql -y"
|
||||
"yum install -y mysql"
|
||||
]
|
||||
}]
|
||||
}
|
|
@ -3,7 +3,7 @@ description: |
|
|||
The `ucloud-uhost` Packer builder plugin provides the capability to build
|
||||
customized images based on an existing base images.
|
||||
layout: docs
|
||||
page_title: UCloud Image Builder
|
||||
page_title: 'UCloud Image Builder'
|
||||
sidebar_current: 'docs-builders-ucloud-uhost'
|
||||
---
|
||||
|
||||
|
|
|
@ -174,6 +174,9 @@
|
|||
<li<%= sidebar_current("docs-builders-triton") %>>
|
||||
<a href="/docs/builders/triton.html">Triton</a>
|
||||
</li>
|
||||
<li<%= sidebar_current("docs-builders-ucloud-uhost") %>>
|
||||
<a href="/docs/builders/ucloud-uhost.html">UCloud</a>
|
||||
</li>
|
||||
<li<%= sidebar_current("docs-builders-vagrant") %>>
|
||||
<a href="/docs/builders/vagrant.html">Vagrant</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue