{"action":"opened","issue":{"url":"https://api.github.com/repos/quattor/aii/issues/153","labels_url":"https://api.github.com/repos/quattor/aii/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/quattor/aii/issues/153/comments","events_url":"https://api.github.com/repos/quattor/aii/issues/153/events","html_url":"https://github.com/quattor/aii/issues/153","id":122514886,"number":153,"title":"aii-ks: aii repository creation during install does not escape variables","user":{"login":"wdpypere","id":5476755,"avatar_url":"https://avatars.githubusercontent.com/u/5476755?v=3","gravatar_id":"","url":"https://api.github.com/users/wdpypere","html_url":"https://github.com/wdpypere","followers_url":"https://api.github.com/users/wdpypere/followers","following_url":"https://api.github.com/users/wdpypere/following{/other_user}","gists_url":"https://api.github.com/users/wdpypere/gists{/gist_id}","starred_url":"https://api.github.com/users/wdpypere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdpypere/subscriptions","organizations_url":"https://api.github.com/users/wdpypere/orgs","repos_url":"https://api.github.com/users/wdpypere/repos","events_url":"https://api.github.com/users/wdpypere/events{/privacy}","received_events_url":"https://api.github.com/users/wdpypere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T14:25:44Z","updated_at":"2015-12-16T14:25:44Z","closed_at":null,"body":"In the kickstart scripts, at a certain point we do:\r\n```\r\nmkdir -p /tmp/aii/yum/repos\r\ncat <<end_of_yum_conf > /tmp/aii/yum/yum.conf\r\n[main]\r\ncachedir=/var/cache/yum/$basearch/$releasever\r\n```\r\nwhich results in:\r\n```\r\ncachedir=/var/cache/yum//\r\n```\r\n\r\nNot game breaking but it is not correct and leaves stuff on the system which should not be there. Escaping these should work."}}