File: //lib/python3.6/site-packages/cloudinit/sources/__pycache__/DataSourceRbxCloud.cpython-36.pyc
3
A[�dL � @ s� d Z ddlZddlZddlZddlmZ ddlmZmZm Z ddl
mZmZ ej
e�ZdZdd� Zd d
� Zdd� Zd
d� Zdd� Zdd� Zdd� Zdd� ZG dd� dej�ZeejffgZdd� ZdS )zr
This file contains code used to gather the user data passed to an
instance on rootbox / hyperone cloud platforms
� N)�log)�sources�subp�util)�
EventScope� EventTypez
/etc/hostsc C s. t jtdd�} | r tjd� dS tjd� dS )NT)�quietz5/etc/hosts exists - setting manage_etc_hosts to FalseFz=/etc/hosts does not exists - setting manage_etc_hosts to True)r � load_file� ETC_HOSTS�LOG�debug)Zhosts� r
�(/usr/lib/python3.6/DataSourceRbxCloud.py�get_manage_etc_hosts s
r c C sF | j d�}t|d �d>