'Clean up env after iscsi used.'

def cleanup(self):

    self.logout()
    if os.path.isfile(('/etc/iscsi/initiatorname.iscsi-%s' % self.id)):
        cmd = ('    mv    /etc/iscsi/initiatorname.iscsi-%s' % self.id)
        cmd += '    /etc/iscsi/initiatorname.iscsi'
        utils.system(cmd)
        cmd = 'service    iscsid    restart'
        utils.system(cmd)
    if self.export_flag:
        self.delete_target()
