{"action":"created","comment":{"url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/comments/26289904","id":26289904,"diff_hunk":"@@ -0,0 +1,22 @@\n+#!/bin/bash\n+#\n+# requires:\n+#  bash\n+#\n+set -e\n+set -o pipefail\n+\n+chroot_dir=${1}\n+lxc_suffix=${2}\n+file=iperf3-3.0.10-1.el6.x86_64.rpm\n+\n+if [ ! -f ${file} ]; then\n+  chroot ${chroot_dir} /bin/bash -ex <<EOS\n+    wget http://dl.fedoraproject.org/pub/epel/6/x86_64/${file}\n+EOS\n+fi\n+\n+chroot ${chroot_dir} /bin/bash -ex <<EOS\n+  rpm -i --root=/var/lib/lxc/lxc${lxc_suffix}/rootfs --nodeps ${file}","path":"kvm-guests/common/lxc/iperf3.sh","position":20,"original_position":20,"commit_id":"d25957b3b88831bf1ccccfdd9117aa41807e9318","original_commit_id":"d25957b3b88831bf1ccccfdd9117aa41807e9318","user":{"login":"hansode","id":76867,"avatar_url":"https://avatars.githubusercontent.com/u/76867?v=3","gravatar_id":"","url":"https://api.github.com/users/hansode","html_url":"https://github.com/hansode","followers_url":"https://api.github.com/users/hansode/followers","following_url":"https://api.github.com/users/hansode/following{/other_user}","gists_url":"https://api.github.com/users/hansode/gists{/gist_id}","starred_url":"https://api.github.com/users/hansode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansode/subscriptions","organizations_url":"https://api.github.com/users/hansode/orgs","repos_url":"https://api.github.com/users/hansode/repos","events_url":"https://api.github.com/users/hansode/events{/privacy}","received_events_url":"https://api.github.com/users/hansode/received_events","type":"User","site_admin":false},"body":"why don't you use \"yum install iperf\" ?\r\n","created_at":"2015-03-12T10:12:20Z","updated_at":"2015-03-12T10:12:20Z","html_url":"https://github.com/wakameci/wakame-ci-cluster/pull/210#discussion_r26289904","pull_request_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/comments/26289904"},"html":{"href":"https://github.com/wakameci/wakame-ci-cluster/pull/210#discussion_r26289904"},"pull_request":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210","id":30921108,"html_url":"https://github.com/wakameci/wakame-ci-cluster/pull/210","diff_url":"https://github.com/wakameci/wakame-ci-cluster/pull/210.diff","patch_url":"https://github.com/wakameci/wakame-ci-cluster/pull/210.patch","issue_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/210","number":210,"state":"open","locked":false,"title":"LXC installation and configuration improvements","user":{"login":"Mopster","id":155956,"avatar_url":"https://avatars.githubusercontent.com/u/155956?v=3","gravatar_id":"","url":"https://api.github.com/users/Mopster","html_url":"https://github.com/Mopster","followers_url":"https://api.github.com/users/Mopster/followers","following_url":"https://api.github.com/users/Mopster/following{/other_user}","gists_url":"https://api.github.com/users/Mopster/gists{/gist_id}","starred_url":"https://api.github.com/users/Mopster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mopster/subscriptions","organizations_url":"https://api.github.com/users/Mopster/orgs","repos_url":"https://api.github.com/users/Mopster/repos","events_url":"https://api.github.com/users/Mopster/events{/privacy}","received_events_url":"https://api.github.com/users/Mopster/received_events","type":"User","site_admin":false},"body":"* Refactored and improved the installation scripts of the LXC's in the KVM. The scripts now reside in the 'common' folder.\r\n* Updated CentOS distro version to 6.6\r\n* Rewrote the README\r\n* Added installation of certain tools to the LXC :\r\n  * iperf3\r\n  * tcpdump\r\n  * nc\r\n  * strace","created_at":"2015-03-11T07:41:00Z","updated_at":"2015-03-12T10:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"064c8b5bb04b1e03944a922eed57da6d3dbcc11a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210/commits","review_comments_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210/comments","review_comment_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/210/comments","statuses_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/statuses/d25957b3b88831bf1ccccfdd9117aa41807e9318","head":{"label":"wakameci:lxc-iperf3","ref":"lxc-iperf3","sha":"d25957b3b88831bf1ccccfdd9117aa41807e9318","user":{"login":"wakameci","id":8006350,"avatar_url":"https://avatars.githubusercontent.com/u/8006350?v=3","gravatar_id":"","url":"https://api.github.com/users/wakameci","html_url":"https://github.com/wakameci","followers_url":"https://api.github.com/users/wakameci/followers","following_url":"https://api.github.com/users/wakameci/following{/other_user}","gists_url":"https://api.github.com/users/wakameci/gists{/gist_id}","starred_url":"https://api.github.com/users/wakameci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakameci/subscriptions","organizations_url":"https://api.github.com/users/wakameci/orgs","repos_url":"https://api.github.com/users/wakameci/repos","events_url":"https://api.github.com/users/wakameci/events{/privacy}","received_events_url":"https://api.github.com/users/wakameci/received_events","type":"Organization","site_admin":false},"repo":{"id":23515605,"name":"wakame-ci-cluster","full_name":"wakameci/wakame-ci-cluster","owner":{"login":"wakameci","id":8006350,"avatar_url":"https://avatars.githubusercontent.com/u/8006350?v=3","gravatar_id":"","url":"https://api.github.com/users/wakameci","html_url":"https://github.com/wakameci","followers_url":"https://api.github.com/users/wakameci/followers","following_url":"https://api.github.com/users/wakameci/following{/other_user}","gists_url":"https://api.github.com/users/wakameci/gists{/gist_id}","starred_url":"https://api.github.com/users/wakameci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakameci/subscriptions","organizations_url":"https://api.github.com/users/wakameci/orgs","repos_url":"https://api.github.com/users/wakameci/repos","events_url":"https://api.github.com/users/wakameci/events{/privacy}","received_events_url":"https://api.github.com/users/wakameci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wakameci/wakame-ci-cluster","description":"Kemumaki Build Cluster for Wakame CI","fork":false,"url":"https://api.github.com/repos/wakameci/wakame-ci-cluster","forks_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/forks","keys_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/teams","hooks_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/hooks","issue_events_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/events","assignees_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/tags","blobs_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/languages","stargazers_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/stargazers","contributors_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/contributors","subscribers_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/subscribers","subscription_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/subscription","commits_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/merges","archive_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/downloads","issues_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/labels{/name}","releases_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/releases{/id}","created_at":"2014-08-31T14:43:42Z","updated_at":"2015-03-11T09:02:37Z","pushed_at":"2015-03-11T09:02:39Z","git_url":"git://github.com/wakameci/wakame-ci-cluster.git","ssh_url":"git@github.com:wakameci/wakame-ci-cluster.git","clone_url":"https://github.com/wakameci/wakame-ci-cluster.git","svn_url":"https://github.com/wakameci/wakame-ci-cluster","homepage":"","size":2570,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"wakameci:master","ref":"master","sha":"fe61b7bb1ae4c953e4a5ddf51dd0f782b56bc75f","user":{"login":"wakameci","id":8006350,"avatar_url":"https://avatars.githubusercontent.com/u/8006350?v=3","gravatar_id":"","url":"https://api.github.com/users/wakameci","html_url":"https://github.com/wakameci","followers_url":"https://api.github.com/users/wakameci/followers","following_url":"https://api.github.com/users/wakameci/following{/other_user}","gists_url":"https://api.github.com/users/wakameci/gists{/gist_id}","starred_url":"https://api.github.com/users/wakameci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakameci/subscriptions","organizations_url":"https://api.github.com/users/wakameci/orgs","repos_url":"https://api.github.com/users/wakameci/repos","events_url":"https://api.github.com/users/wakameci/events{/privacy}","received_events_url":"https://api.github.com/users/wakameci/received_events","type":"Organization","site_admin":false},"repo":{"id":23515605,"name":"wakame-ci-cluster","full_name":"wakameci/wakame-ci-cluster","owner":{"login":"wakameci","id":8006350,"avatar_url":"https://avatars.githubusercontent.com/u/8006350?v=3","gravatar_id":"","url":"https://api.github.com/users/wakameci","html_url":"https://github.com/wakameci","followers_url":"https://api.github.com/users/wakameci/followers","following_url":"https://api.github.com/users/wakameci/following{/other_user}","gists_url":"https://api.github.com/users/wakameci/gists{/gist_id}","starred_url":"https://api.github.com/users/wakameci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakameci/subscriptions","organizations_url":"https://api.github.com/users/wakameci/orgs","repos_url":"https://api.github.com/users/wakameci/repos","events_url":"https://api.github.com/users/wakameci/events{/privacy}","received_events_url":"https://api.github.com/users/wakameci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wakameci/wakame-ci-cluster","description":"Kemumaki Build Cluster for Wakame CI","fork":false,"url":"https://api.github.com/repos/wakameci/wakame-ci-cluster","forks_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/forks","keys_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/teams","hooks_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/hooks","issue_events_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/events","assignees_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/tags","blobs_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/languages","stargazers_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/stargazers","contributors_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/contributors","subscribers_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/subscribers","subscription_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/subscription","commits_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/merges","archive_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/downloads","issues_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/labels{/name}","releases_url":"https://api.github.com/repos/wakameci/wakame-ci-cluster/releases{/id}","created_at":"2014-08-31T14:43:42Z","updated_at":"2015-03-11T09:02:37Z","pushed_at":"2015-03-11T09:02:39Z","git_url":"git://github.com/wakameci/wakame-ci-cluster.git","ssh_url":"git@github.com:wakameci/wakame-ci-cluster.git","clone_url":"https://github.com/wakameci/wakame-ci-cluster.git","svn_url":"https://github.com/wakameci/wakame-ci-cluster","homepage":"","size":2570,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210"},"html":{"href":"https://github.com/wakameci/wakame-ci-cluster/pull/210"},"issue":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/210"},"comments":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/wakameci/wakame-ci-cluster/statuses/d25957b3b88831bf1ccccfdd9117aa41807e9318"}}}}