{"action":"created","comment":{"url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/comments/86974356","pull_request_review_id":7604093,"id":86974356,"diff_hunk":"@@ -1,11 +1,25 @@\n #!/bin/bash\n set -eux\n-\n export DEBIAN_FRONTEND=noninteractive\n \n systemctl disable apt-daily.service\n systemctl disable apt-daily.timer\n \n+# Remove useless stuff, mostly services that would be running and taking\n+# unecessary memory.\n+apt-get purge -y \\\n+  byobu \\\n+  lxc-common \\\n+  lxcfs \\\n+  lxd \\\n+  lxd-client \\\n+  mdadm \\\n+  open-iscsi \\\n+  snap-confine \\\n+  snapd \\\n+  ubuntu-core-launcher \\\n+  && echo","path":"scripts/base.sh","position":22,"original_position":22,"commit_id":"263abe4d79d6fb4a040f75842d29eecb1a38df61","original_commit_id":"263abe4d79d6fb4a040f75842d29eecb1a38df61","user":{"login":"draganm","id":2174560,"avatar_url":"https://avatars.githubusercontent.com/u/2174560?v=3","gravatar_id":"","url":"https://api.github.com/users/draganm","html_url":"https://github.com/draganm","followers_url":"https://api.github.com/users/draganm/followers","following_url":"https://api.github.com/users/draganm/following{/other_user}","gists_url":"https://api.github.com/users/draganm/gists{/gist_id}","starred_url":"https://api.github.com/users/draganm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draganm/subscriptions","organizations_url":"https://api.github.com/users/draganm/orgs","repos_url":"https://api.github.com/users/draganm/repos","events_url":"https://api.github.com/users/draganm/events{/privacy}","received_events_url":"https://api.github.com/users/draganm/received_events","type":"User","site_admin":false},"body":"&& true","created_at":"2016-11-08T11:57:35Z","updated_at":"2016-11-08T11:58:12Z","html_url":"https://github.com/onebilltech/infrastructure-packer/pull/3#discussion_r86974356","pull_request_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/comments/86974356"},"html":{"href":"https://github.com/onebilltech/infrastructure-packer/pull/3#discussion_r86974356"},"pull_request":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3","id":92763832,"html_url":"https://github.com/onebilltech/infrastructure-packer/pull/3","diff_url":"https://github.com/onebilltech/infrastructure-packer/pull/3.diff","patch_url":"https://github.com/onebilltech/infrastructure-packer/pull/3.patch","issue_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/3","number":3,"state":"open","locked":false,"title":"V2","user":{"login":"zimbatm","id":3248,"avatar_url":"https://avatars.githubusercontent.com/u/3248?v=3","gravatar_id":"","url":"https://api.github.com/users/zimbatm","html_url":"https://github.com/zimbatm","followers_url":"https://api.github.com/users/zimbatm/followers","following_url":"https://api.github.com/users/zimbatm/following{/other_user}","gists_url":"https://api.github.com/users/zimbatm/gists{/gist_id}","starred_url":"https://api.github.com/users/zimbatm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimbatm/subscriptions","organizations_url":"https://api.github.com/users/zimbatm/orgs","repos_url":"https://api.github.com/users/zimbatm/repos","events_url":"https://api.github.com/users/zimbatm/events{/privacy}","received_events_url":"https://api.github.com/users/zimbatm/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-08T11:53:32Z","updated_at":"2016-11-08T11:58:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fc4b45682fbba10a72a9fb5bbdda819bdba33b5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3/commits","review_comments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3/comments","review_comment_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/3/comments","statuses_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/statuses/263abe4d79d6fb4a040f75842d29eecb1a38df61","head":{"label":"onebilltech:v2","ref":"v2","sha":"263abe4d79d6fb4a040f75842d29eecb1a38df61","user":{"login":"onebilltech","id":20577147,"avatar_url":"https://avatars.githubusercontent.com/u/20577147?v=3","gravatar_id":"","url":"https://api.github.com/users/onebilltech","html_url":"https://github.com/onebilltech","followers_url":"https://api.github.com/users/onebilltech/followers","following_url":"https://api.github.com/users/onebilltech/following{/other_user}","gists_url":"https://api.github.com/users/onebilltech/gists{/gist_id}","starred_url":"https://api.github.com/users/onebilltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onebilltech/subscriptions","organizations_url":"https://api.github.com/users/onebilltech/orgs","repos_url":"https://api.github.com/users/onebilltech/repos","events_url":"https://api.github.com/users/onebilltech/events{/privacy}","received_events_url":"https://api.github.com/users/onebilltech/received_events","type":"Organization","site_admin":false},"repo":{"id":72663487,"name":"infrastructure-packer","full_name":"onebilltech/infrastructure-packer","owner":{"login":"onebilltech","id":20577147,"avatar_url":"https://avatars.githubusercontent.com/u/20577147?v=3","gravatar_id":"","url":"https://api.github.com/users/onebilltech","html_url":"https://github.com/onebilltech","followers_url":"https://api.github.com/users/onebilltech/followers","following_url":"https://api.github.com/users/onebilltech/following{/other_user}","gists_url":"https://api.github.com/users/onebilltech/gists{/gist_id}","starred_url":"https://api.github.com/users/onebilltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onebilltech/subscriptions","organizations_url":"https://api.github.com/users/onebilltech/orgs","repos_url":"https://api.github.com/users/onebilltech/repos","events_url":"https://api.github.com/users/onebilltech/events{/privacy}","received_events_url":"https://api.github.com/users/onebilltech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onebilltech/infrastructure-packer","description":null,"fork":false,"url":"https://api.github.com/repos/onebilltech/infrastructure-packer","forks_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/forks","keys_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/teams","hooks_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/hooks","issue_events_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/events{/number}","events_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/events","assignees_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/assignees{/user}","branches_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/branches{/branch}","tags_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/tags","blobs_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/languages","stargazers_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/stargazers","contributors_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/contributors","subscribers_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/subscribers","subscription_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/subscription","commits_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/contents/{+path}","compare_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/merges","archive_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/downloads","issues_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues{/number}","pulls_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/labels{/name}","releases_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/releases{/id}","deployments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/deployments","created_at":"2016-11-02T17:17:47Z","updated_at":"2016-11-03T12:49:11Z","pushed_at":"2016-11-08T11:53:32Z","git_url":"git://github.com/onebilltech/infrastructure-packer.git","ssh_url":"git@github.com:onebilltech/infrastructure-packer.git","clone_url":"https://github.com/onebilltech/infrastructure-packer.git","svn_url":"https://github.com/onebilltech/infrastructure-packer","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"onebilltech:master","ref":"master","sha":"8f9cd9633d3a0ce26e21478fad24fc5c726dcc2e","user":{"login":"onebilltech","id":20577147,"avatar_url":"https://avatars.githubusercontent.com/u/20577147?v=3","gravatar_id":"","url":"https://api.github.com/users/onebilltech","html_url":"https://github.com/onebilltech","followers_url":"https://api.github.com/users/onebilltech/followers","following_url":"https://api.github.com/users/onebilltech/following{/other_user}","gists_url":"https://api.github.com/users/onebilltech/gists{/gist_id}","starred_url":"https://api.github.com/users/onebilltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onebilltech/subscriptions","organizations_url":"https://api.github.com/users/onebilltech/orgs","repos_url":"https://api.github.com/users/onebilltech/repos","events_url":"https://api.github.com/users/onebilltech/events{/privacy}","received_events_url":"https://api.github.com/users/onebilltech/received_events","type":"Organization","site_admin":false},"repo":{"id":72663487,"name":"infrastructure-packer","full_name":"onebilltech/infrastructure-packer","owner":{"login":"onebilltech","id":20577147,"avatar_url":"https://avatars.githubusercontent.com/u/20577147?v=3","gravatar_id":"","url":"https://api.github.com/users/onebilltech","html_url":"https://github.com/onebilltech","followers_url":"https://api.github.com/users/onebilltech/followers","following_url":"https://api.github.com/users/onebilltech/following{/other_user}","gists_url":"https://api.github.com/users/onebilltech/gists{/gist_id}","starred_url":"https://api.github.com/users/onebilltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onebilltech/subscriptions","organizations_url":"https://api.github.com/users/onebilltech/orgs","repos_url":"https://api.github.com/users/onebilltech/repos","events_url":"https://api.github.com/users/onebilltech/events{/privacy}","received_events_url":"https://api.github.com/users/onebilltech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onebilltech/infrastructure-packer","description":null,"fork":false,"url":"https://api.github.com/repos/onebilltech/infrastructure-packer","forks_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/forks","keys_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/teams","hooks_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/hooks","issue_events_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/events{/number}","events_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/events","assignees_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/assignees{/user}","branches_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/branches{/branch}","tags_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/tags","blobs_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/languages","stargazers_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/stargazers","contributors_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/contributors","subscribers_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/subscribers","subscription_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/subscription","commits_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/contents/{+path}","compare_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/merges","archive_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/downloads","issues_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues{/number}","pulls_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/labels{/name}","releases_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/releases{/id}","deployments_url":"https://api.github.com/repos/onebilltech/infrastructure-packer/deployments","created_at":"2016-11-02T17:17:47Z","updated_at":"2016-11-03T12:49:11Z","pushed_at":"2016-11-08T11:53:32Z","git_url":"git://github.com/onebilltech/infrastructure-packer.git","ssh_url":"git@github.com:onebilltech/infrastructure-packer.git","clone_url":"https://github.com/onebilltech/infrastructure-packer.git","svn_url":"https://github.com/onebilltech/infrastructure-packer","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3"},"html":{"href":"https://github.com/onebilltech/infrastructure-packer/pull/3"},"issue":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/3"},"comments":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/onebilltech/infrastructure-packer/statuses/263abe4d79d6fb4a040f75842d29eecb1a38df61"}}}}
{"actor":{"display_login":"draganm"}}