/usr/lib/python2.6/site-packages/cloudinit/config
Edit: /usr/lib/python2.6/site-packages/cloudinit/config/cc_ssh_import_id.pyc (2191B)
Ñò
¿;Sc @ sN d d k l Z d d k l Z d d k Z d d g Z d Z d Z d S( iÿÿÿÿ( t distros( t utilNt ubuntut debianc C sÅ t | d j oF | d } g } t | d j o | d } n t | | | d St i | | i \ } } g } x)| i D]\ } }
g } |
d o t i | d g } n, y |
d } Wn | i d | q n Xy: t i | } g } | D] }
| t
|
q~ } Wn | i d | q n Xt | p q n y t | | | Wq t j
o, } t i | d | | | i
| q Xq Wt | o | d n d S( Ni i t defaultt
ssh_import_ids+ User %s is not configured for ssh_import_ids5 User %s is not correctly configured for ssh_import_ids ssh-import-id failed for: %s %s( t lent import_ssh_idst dst normalize_users_groupst distrot itemsR t get_cfg_option_listt debugt
uniq_merget strt Exceptiont logexct append( t _namet cfgt cloudt logt argst usert idst userst _groupst elistt user_cfgt
import_idst _[1]t it exc( ( sE /usr/lib/python2.6/site-packages/cloudinit/config/cc_ssh_import_id.pyt handle! sH
+
c
C sÌ | o | p | i d | | d Sy t i | } Wn t j
o } | n Xd d | d g | } | i d | y t i | d t Wn1 t i j
o" } t i | d | | n Xd S( Ns( empty user(%s) or ids(%s). not importingt sudos -Hus
ssh-import-ids Importing ssh ids for user %s.t captures* Failed to run command to import %s ssh ids( R
t pwdt getpwnamt KeyErrorR t subpt Falset ProcessExecutionErrorR ( R R R t _checkR! t cmd( ( sE /usr/lib/python2.6/site-packages/cloudinit/config/cc_ssh_import_id.pyR Q s ( t cloudinitR R R R% R" R ( ( ( sE /usr/lib/python2.6/site-packages/cloudinit/config/cc_ssh_import_id.pyt
s
0