File: //lib/python3.6/site-packages/cloudinit/sources/__pycache__/DataSourceVultr.cpython-36.pyc
3
��bU � @ s d dl jjjZd dlmZ d dlmZmZmZ eje �Z
dddddej� ej� d ej� d
f d�Z
G dd
� d
ej�ZeejffgZdd� Ze dk�rd dlZej� s�ed� ejd� eje
d e
d e
d e
d e
d �Zed Zej� Zeeje�� eeje�� dS )� N)�log)�sources�util�versionzhttp://169.254.169.254� �
� z"Cloud-Init/%s - OS: %s Variant: %s�systemZvariant)�url�retries�timeout�waitz
user-agentc sX e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd
d� Ze dd
� �Z
e dd� �Z� ZS )�DataSourceVultr�Vultrc s6 t t| �j|||� tjtj|ddgi �tg�| _d S )NZ
datasourcer )�superr �__init__r Z
mergemanydictZget_cfg_by_path�BUILTIN_DS_CONFIG�ds_cfg)�self�sys_cfgZdistro�paths)� __class__� �%/usr/lib/python3.6/DataSourceVultr.pyr s zDataSourceVultr.__init__c C s t jd� tj� s t jd� dS t jd� | j� | _| jd | jd<