This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
cloud:cloud-init [2017/09/20 17:35] frank created |
cloud:cloud-init [2017/09/20 17:44] (current) frank |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Local cloud-init configuration for cloud image(OCI): | Local cloud-init configuration for cloud image(OCI): | ||
| - | - meta-data: | ||
| - | instance-id=myvm01 | ||
| - | - user-data: | + | * meta-data: |
| - | # cloud-config | + | |
| - | password: oracle | + | |
| - | chpasswd: { expire: False } | + | |
| - | ssh_pwauth: True | + | |
| - | ssh_authorized_key: | + | |
| - | - ssh public key | + | |
| - | timezone: America/Los_Angeles | + | |
| - | - To generate a metadata iso | + | instance-id=myvm01 |
| - | RHEL/Fedora | + | |
| - | # genisoimage -output metadata.iso -volid cidata -joliet -r meta-data user-data | + | * user-data: |
| - | Ubuntu | + | |
| - | # cloud-localds my-seed.img my-user-data my-meta-data | + | |
| + | # cloud-config | ||
| + | password: oracle | ||
| + | chpasswd: { expire: False } | ||
| + | ssh_pwauth: True | ||
| + | ssh_authorized_key: | ||
| + | - ssh public key | ||
| + | timezone: America/Los_Angeles | ||
| + | |||
| + | * To generate a metadata iso | ||
| + | RHEL/Fedora | ||
| + | # genisoimage -output metadata.iso -volid cidata -joliet -r meta-data user-data | ||
| + | Ubuntu | ||
| + | # cloud-localds my-seed.img my-user-data my-meta-data | ||