404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@13.59.39.91: ~ $
3

\�me��	@sddlZddlmZddljjjZddlmZmZm	Z	m
Z
eje�Z
ddddde
j�e	j�d	e	j�d
fd�ZGdd
�d
ej�ZeejffgZdd�Zedk�rddlZej�s�ed�ejd�ejdd�jZejeededededed�ZedZej�Z dS)�N)�Tuple)�sources�stages�util�versionzhttp://169.254.169.254��
�z"Cloud-Init/%s - OS: %s Variant: %s�systemZvariant)�url�retries�timeout�waitz
user-agentcs~eZdZUdZejjdZeedf�fdd�Z	e
dd��Zdd	�Zd
d�Z
dd
�Zdd�Zedd��Zedd��Z�ZS)�DataSourceVultr�Vultr�startup-script.cs6tt|�j|||�tjtj|ddgi�tg�|_dS)NZ
datasourcer)�superr�__init__rZ
mergemanydictZget_cfg_by_path�BUILTIN_DS_CONFIG�ds_cfg)�self�sys_cfg�distro�paths)�	__class__��%/usr/lib/python3.6/DataSourceVultr.pyr%szDataSourceVultr.__init__cCstj�S)N)�vultr�is_vultrrrrr�	ds_detect.szDataSourceVultr.ds_detectcCsTtjd�|j�|_|jd|_|j|j�tjd|jd�tjd|jd�dS)NzMachine is a Vultr instancez	user-dataz	SUBID: %szinstance-idzHostname: %szlocal-hostnameT)�LOG�debug�get_metadata�metadata�userdata_raw�get_datasource_data)rrrr�	_get_data3s

zDataSourceVultr._get_datacCsrd|kr"tj|d�|d|_ntj|d�|_|d|_|jddkrTd|jd<|d|_|jdkrnd|_dS)NZcloud_interfacesZ
interfaceszvendor-datazlocal-hostname�Zguestz	user-data)rZadd_interface_names�netcfgZgenerate_network_configZvendordata_rawr#r$)r�mdrrrr%Es



z#DataSourceVultr.get_datasource_datac	Cs>tj|j|jd|jd|jd|jd|jd|jj�d�S)Nrr
rrz
user-agent)Ztmp_dir)rr"rrZget_tmp_exec_path)rrrrr"ZszDataSourceVultr.get_metadatacCs.tj�sdStj�rdStj�d}tj|�S)NF�subid)rrZis_baremetal�get_sysinforZinstance_id_matches_system_uuid)rrr*rrr�check_instance_idfsz!DataSourceVultr.check_instance_idcCsdS)Nr)rrrr�launch_indexrszDataSourceVultr.launch_indexcCs|jS)N)r()rrrr�network_configvszDataSourceVultr.network_config)r)�__name__�
__module__�__qualname__Zdsnamer�
DataSourceZsensitive_metadata_keysr�strr�staticmethodrr&r%r"r,�propertyr-r.�
__classcell__rr)rrrs
	rcCstj|t�S)N)rZlist_from_depends�datasources)Zdependsrrr�get_datasource_list�sr8�__main__zMachine is not a Vultr instance�T)Zreporterrr
rrz
user-agentzvendor-data)!ZloggingZtypingrZcloudinit.sources.helpers.vultrrZhelpersrZ	cloudinitrrrZ	getLoggerr/r Zversion_stringZsystem_inforr2rZDEP_FILESYSTEMr7r8�sysr�print�exitZInitrr"r)�configr+Zsysinforrrr�<module>s<

`




Filemanager

Name Type Size Permission Actions
DataSourceAkamai.cpython-36.opt-1.pyc File 8.18 KB 0644
DataSourceAkamai.cpython-36.pyc File 8.18 KB 0644
DataSourceAliYun.cpython-36.opt-1.pyc File 3.22 KB 0644
DataSourceAliYun.cpython-36.pyc File 3.22 KB 0644
DataSourceAltCloud.cpython-36.opt-1.pyc File 6.74 KB 0644
DataSourceAltCloud.cpython-36.pyc File 6.74 KB 0644
DataSourceAzure.cpython-36.opt-1.pyc File 47.95 KB 0644
DataSourceAzure.cpython-36.pyc File 47.95 KB 0644
DataSourceBigstep.cpython-36.opt-1.pyc File 1.84 KB 0644
DataSourceBigstep.cpython-36.pyc File 1.84 KB 0644
DataSourceCloudSigma.cpython-36.opt-1.pyc File 3.62 KB 0644
DataSourceCloudSigma.cpython-36.pyc File 3.62 KB 0644
DataSourceCloudStack.cpython-36.opt-1.pyc File 5.97 KB 0644
DataSourceCloudStack.cpython-36.pyc File 5.97 KB 0644
DataSourceConfigDrive.cpython-36.opt-1.pyc File 8.18 KB 0644
DataSourceConfigDrive.cpython-36.pyc File 8.18 KB 0644
DataSourceDigitalOcean.cpython-36.opt-1.pyc File 3.65 KB 0644
DataSourceDigitalOcean.cpython-36.pyc File 3.65 KB 0644
DataSourceEc2.cpython-36.opt-1.pyc File 23.49 KB 0644
DataSourceEc2.cpython-36.pyc File 23.49 KB 0644
DataSourceExoscale.cpython-36.opt-1.pyc File 5.92 KB 0644
DataSourceExoscale.cpython-36.pyc File 5.92 KB 0644
DataSourceGCE.cpython-36.opt-1.pyc File 9.83 KB 0644
DataSourceGCE.cpython-36.pyc File 9.93 KB 0644
DataSourceHetzner.cpython-36.opt-1.pyc File 3.78 KB 0644
DataSourceHetzner.cpython-36.pyc File 3.78 KB 0644
DataSourceIBMCloud.cpython-36.opt-1.pyc File 12.44 KB 0644
DataSourceIBMCloud.cpython-36.pyc File 12.44 KB 0644
DataSourceLXD.cpython-36.opt-1.pyc File 13.31 KB 0644
DataSourceLXD.cpython-36.pyc File 13.31 KB 0644
DataSourceMAAS.cpython-36.opt-1.pyc File 11.86 KB 0644
DataSourceMAAS.cpython-36.pyc File 11.86 KB 0644
DataSourceNWCS.cpython-36.opt-1.pyc File 3.77 KB 0644
DataSourceNWCS.cpython-36.pyc File 3.77 KB 0644
DataSourceNoCloud.cpython-36.opt-1.pyc File 7.97 KB 0644
DataSourceNoCloud.cpython-36.pyc File 7.97 KB 0644
DataSourceNone.cpython-36.opt-1.pyc File 1.47 KB 0644
DataSourceNone.cpython-36.pyc File 1.47 KB 0644
DataSourceOVF.cpython-36.opt-1.pyc File 9.15 KB 0644
DataSourceOVF.cpython-36.pyc File 9.15 KB 0644
DataSourceOpenNebula.cpython-36.opt-1.pyc File 11.75 KB 0644
DataSourceOpenNebula.cpython-36.pyc File 11.75 KB 0644
DataSourceOpenStack.cpython-36.opt-1.pyc File 7.91 KB 0644
DataSourceOpenStack.cpython-36.pyc File 7.91 KB 0644
DataSourceOracle.cpython-36.opt-1.pyc File 10.99 KB 0644
DataSourceOracle.cpython-36.pyc File 10.99 KB 0644
DataSourceRbxCloud.cpython-36.opt-1.pyc File 7.19 KB 0644
DataSourceRbxCloud.cpython-36.pyc File 7.19 KB 0644
DataSourceScaleway.cpython-36.opt-1.pyc File 10.84 KB 0644
DataSourceScaleway.cpython-36.pyc File 10.84 KB 0644
DataSourceSmartOS.cpython-36.opt-1.pyc File 24.51 KB 0644
DataSourceSmartOS.cpython-36.pyc File 24.51 KB 0644
DataSourceUpCloud.cpython-36.opt-1.pyc File 4.36 KB 0644
DataSourceUpCloud.cpython-36.pyc File 4.36 KB 0644
DataSourceVMware.cpython-36.opt-1.pyc File 23.66 KB 0644
DataSourceVMware.cpython-36.pyc File 23.66 KB 0644
DataSourceVultr.cpython-36.opt-1.pyc File 3.44 KB 0644
DataSourceVultr.cpython-36.pyc File 3.44 KB 0644
__init__.cpython-36.opt-1.pyc File 30.52 KB 0644
__init__.cpython-36.pyc File 30.52 KB 0644