upd docs
This commit is contained in:
parent
072e86f987
commit
bdff33759c
@ -206,6 +206,7 @@ class CloudInit:
|
||||
Attach cloud-init disk to instance.
|
||||
|
||||
:param disk: Path to disk.
|
||||
:param target: Disk target name e.g. `vda`.
|
||||
:param instance: Compute instance object.
|
||||
"""
|
||||
instance.attach_device(
|
||||
|
@ -210,6 +210,9 @@ class Session(AbstractContextManager):
|
||||
:param network_interfaces: List of virtual network interfaces
|
||||
configs. See :class:`NetworkInterfaceSchema` for more info.
|
||||
:type network_interfaces: list[dict]
|
||||
:param cloud_init: Cloud-init configuration. See
|
||||
:class:`CloudInitSchema` for info.
|
||||
:type cloud_init: dict
|
||||
"""
|
||||
data = InstanceSchema(**kwargs)
|
||||
config = InstanceConfig(data)
|
||||
|
@ -27,9 +27,6 @@ Cloud-init configs may be set inplace into :file:`instance.yaml`.
|
||||
user_data: |
|
||||
## template: jinja
|
||||
#cloud-config
|
||||
merge_how:
|
||||
- name: list
|
||||
settings: [append]
|
||||
hostname: {{ ds.meta_data.hostname }}
|
||||
fqdn: {{ ds.meta_data.hostname }}.instances.generic.cloud
|
||||
manage_etc_hosts: true
|
||||
|
Loading…
Reference in New Issue
Block a user