ó áVXc@sEddlZddlmZddlmZeZdZd„ZdS(i˙˙˙˙N(t PER_INSTANCE(tutils7/opt/freeware/lib/cloud-init/write-ssh-key-fingerprintsc Csĺtjjtƒs)|jd|tƒdStj|dgƒ}tj|ddgƒ}yqtg}|jdj|ƒƒ|jdj|ƒƒtj |ƒ\}} tj d|j ƒdt dt ƒWn|jd ƒ‚nXdS( Ns9Unable to activate module %s, helper tool not found at %stssh_fp_console_blacklisttssh_key_console_blacklistsssh-dsst,s%s tstderrtconsoles*Writing keys to the system console failed!(tostpathtexistst HELPER_TOOLtwarnRtget_cfg_option_listtappendtjointsubpt multi_logtstriptFalsetTrue( tnametcfgt_cloudtlogt_argst fp_blacklistt key_blacklisttcmdtstdoutt_stderr((sP/opt/freeware/lib/python2.7/site-packages/cloudinit/config/cc_keys_to_console.pythandle s&        (Rtcloudinit.settingsRt cloudinitRt frequencyR R(((sP/opt/freeware/lib/python2.7/site-packages/cloudinit/config/cc_keys_to_console.pyts