3 \�met � @ s� d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl m Z mZ e je �ZG dd� dej�ZeZeejffgZdd � ZdS ) � N)� b64decode)�dmi�sources)�DataSourceHostname)�SERIAL_PORT�Cepkoc @ sR e Zd ZdZdZdd� Zedd� �Zdd� Zd d � Z ddd �Z dd� Zdd� ZdS )�DataSourceCloudSigmaz� Uses cepko in order to gather the server context from the VM. For more information about CloudSigma's Server Context: http://cloudsigma-docs.readthedocs.org/en/latest/server_context.html Z CloudSigmac C s$ t � | _d| _tjj| |||� d S )N� )r �cepko�ssh_public_keyr � DataSource�__init__)�selfZsys_cfgZdistro�paths� r �*/usr/lib/python3.6/DataSourceCloudSigma.pyr s zDataSourceCloudSigma.__init__c C s>