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