upd docs
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user