{"action":"created","comment":{"url":"https://api.github.com/repos/iocage/iocage/pulls/comments/39451420","id":39451420,"diff_hunk":"@@ -543,10 +543,12 @@ __rc_jails () {\n         local name=\"$(zfs get -H -o value org.freebsd.iocage:host_hostuuid \\\n                     $jail)\"\n         local boot=\"$(zfs get -H -o value org.freebsd.iocage:boot $jail)\"\n+        local _jail_hostid=\"$(zfs get -H -o value org.freebsd.iocage:hostid \\\n+                        $jail)\"","path":"lib/ioc-rc","position":5,"original_position":5,"commit_id":"16dc98f8443d711531382b7f735e256926205862","original_commit_id":"16dc98f8443d711531382b7f735e256926205862","user":{"login":"skarekrow","id":1589047,"avatar_url":"https://avatars.githubusercontent.com/u/1589047?v=3","gravatar_id":"","url":"https://api.github.com/users/skarekrow","html_url":"https://github.com/skarekrow","followers_url":"https://api.github.com/users/skarekrow/followers","following_url":"https://api.github.com/users/skarekrow/following{/other_user}","gists_url":"https://api.github.com/users/skarekrow/gists{/gist_id}","starred_url":"https://api.github.com/users/skarekrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skarekrow/subscriptions","organizations_url":"https://api.github.com/users/skarekrow/orgs","repos_url":"https://api.github.com/users/skarekrow/repos","events_url":"https://api.github.com/users/skarekrow/events{/privacy}","received_events_url":"https://api.github.com/users/skarekrow/received_events","type":"User","site_admin":false},"body":"Can you make this line up with the $ above it?","created_at":"2015-09-14T21:44:52Z","updated_at":"2015-09-14T21:44:52Z","html_url":"https://github.com/iocage/iocage/pull/222#discussion_r39451420","pull_request_url":"https://api.github.com/repos/iocage/iocage/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/iocage/iocage/pulls/comments/39451420"},"html":{"href":"https://github.com/iocage/iocage/pull/222#discussion_r39451420"},"pull_request":{"href":"https://api.github.com/repos/iocage/iocage/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/iocage/iocage/pulls/222","id":44984730,"html_url":"https://github.com/iocage/iocage/pull/222","diff_url":"https://github.com/iocage/iocage/pull/222.diff","patch_url":"https://github.com/iocage/iocage/pull/222.patch","issue_url":"https://api.github.com/repos/iocage/iocage/issues/222","number":222,"state":"open","locked":false,"title":"Shorten list of jails to start","user":{"login":"Johanhen","id":478828,"avatar_url":"https://avatars.githubusercontent.com/u/478828?v=3","gravatar_id":"","url":"https://api.github.com/users/Johanhen","html_url":"https://github.com/Johanhen","followers_url":"https://api.github.com/users/Johanhen/followers","following_url":"https://api.github.com/users/Johanhen/following{/other_user}","gists_url":"https://api.github.com/users/Johanhen/gists{/gist_id}","starred_url":"https://api.github.com/users/Johanhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johanhen/subscriptions","organizations_url":"https://api.github.com/users/Johanhen/orgs","repos_url":"https://api.github.com/users/Johanhen/repos","events_url":"https://api.github.com/users/Johanhen/events{/privacy}","received_events_url":"https://api.github.com/users/Johanhen/received_events","type":"User","site_admin":false},"body":"If we use an iocage server as a backup server for other iocage servers as well, the list of jails to start can be very long when we reboot as on most jails the boot property is probably set to on. But if the hostid of the jail differs from the hostid of the iocage server the jail will not start.\r\nThis change checks the jail hostid with the servers hostid and if that matches only then is the jail is added to the boot_list.  \r\n\r\n\r\n","created_at":"2015-09-14T21:42:09Z","updated_at":"2015-09-14T21:44:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07b3c8c31868e8dd0bc5255aac5ed25ee71a0c22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iocage/iocage/pulls/222/commits","review_comments_url":"https://api.github.com/repos/iocage/iocage/pulls/222/comments","review_comment_url":"https://api.github.com/repos/iocage/iocage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iocage/iocage/issues/222/comments","statuses_url":"https://api.github.com/repos/iocage/iocage/statuses/16dc98f8443d711531382b7f735e256926205862","head":{"label":"Johanhen:develop","ref":"develop","sha":"16dc98f8443d711531382b7f735e256926205862","user":{"login":"Johanhen","id":478828,"avatar_url":"https://avatars.githubusercontent.com/u/478828?v=3","gravatar_id":"","url":"https://api.github.com/users/Johanhen","html_url":"https://github.com/Johanhen","followers_url":"https://api.github.com/users/Johanhen/followers","following_url":"https://api.github.com/users/Johanhen/following{/other_user}","gists_url":"https://api.github.com/users/Johanhen/gists{/gist_id}","starred_url":"https://api.github.com/users/Johanhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johanhen/subscriptions","organizations_url":"https://api.github.com/users/Johanhen/orgs","repos_url":"https://api.github.com/users/Johanhen/repos","events_url":"https://api.github.com/users/Johanhen/events{/privacy}","received_events_url":"https://api.github.com/users/Johanhen/received_events","type":"User","site_admin":false},"repo":{"id":42449255,"name":"iocage","full_name":"Johanhen/iocage","owner":{"login":"Johanhen","id":478828,"avatar_url":"https://avatars.githubusercontent.com/u/478828?v=3","gravatar_id":"","url":"https://api.github.com/users/Johanhen","html_url":"https://github.com/Johanhen","followers_url":"https://api.github.com/users/Johanhen/followers","following_url":"https://api.github.com/users/Johanhen/following{/other_user}","gists_url":"https://api.github.com/users/Johanhen/gists{/gist_id}","starred_url":"https://api.github.com/users/Johanhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johanhen/subscriptions","organizations_url":"https://api.github.com/users/Johanhen/orgs","repos_url":"https://api.github.com/users/Johanhen/repos","events_url":"https://api.github.com/users/Johanhen/events{/privacy}","received_events_url":"https://api.github.com/users/Johanhen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Johanhen/iocage","description":"FreeBSD jail manager","fork":true,"url":"https://api.github.com/repos/Johanhen/iocage","forks_url":"https://api.github.com/repos/Johanhen/iocage/forks","keys_url":"https://api.github.com/repos/Johanhen/iocage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Johanhen/iocage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Johanhen/iocage/teams","hooks_url":"https://api.github.com/repos/Johanhen/iocage/hooks","issue_events_url":"https://api.github.com/repos/Johanhen/iocage/issues/events{/number}","events_url":"https://api.github.com/repos/Johanhen/iocage/events","assignees_url":"https://api.github.com/repos/Johanhen/iocage/assignees{/user}","branches_url":"https://api.github.com/repos/Johanhen/iocage/branches{/branch}","tags_url":"https://api.github.com/repos/Johanhen/iocage/tags","blobs_url":"https://api.github.com/repos/Johanhen/iocage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Johanhen/iocage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Johanhen/iocage/git/refs{/sha}","trees_url":"https://api.github.com/repos/Johanhen/iocage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Johanhen/iocage/statuses/{sha}","languages_url":"https://api.github.com/repos/Johanhen/iocage/languages","stargazers_url":"https://api.github.com/repos/Johanhen/iocage/stargazers","contributors_url":"https://api.github.com/repos/Johanhen/iocage/contributors","subscribers_url":"https://api.github.com/repos/Johanhen/iocage/subscribers","subscription_url":"https://api.github.com/repos/Johanhen/iocage/subscription","commits_url":"https://api.github.com/repos/Johanhen/iocage/commits{/sha}","git_commits_url":"https://api.github.com/repos/Johanhen/iocage/git/commits{/sha}","comments_url":"https://api.github.com/repos/Johanhen/iocage/comments{/number}","issue_comment_url":"https://api.github.com/repos/Johanhen/iocage/issues/comments{/number}","contents_url":"https://api.github.com/repos/Johanhen/iocage/contents/{+path}","compare_url":"https://api.github.com/repos/Johanhen/iocage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Johanhen/iocage/merges","archive_url":"https://api.github.com/repos/Johanhen/iocage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Johanhen/iocage/downloads","issues_url":"https://api.github.com/repos/Johanhen/iocage/issues{/number}","pulls_url":"https://api.github.com/repos/Johanhen/iocage/pulls{/number}","milestones_url":"https://api.github.com/repos/Johanhen/iocage/milestones{/number}","notifications_url":"https://api.github.com/repos/Johanhen/iocage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Johanhen/iocage/labels{/name}","releases_url":"https://api.github.com/repos/Johanhen/iocage/releases{/id}","created_at":"2015-09-14T13:09:47Z","updated_at":"2015-09-14T13:09:48Z","pushed_at":"2015-09-14T21:26:15Z","git_url":"git://github.com/Johanhen/iocage.git","ssh_url":"git@github.com:Johanhen/iocage.git","clone_url":"https://github.com/Johanhen/iocage.git","svn_url":"https://github.com/Johanhen/iocage","homepage":"http://iocage.readthedocs.org","size":4344,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"iocage:develop","ref":"develop","sha":"93e7f235d365f2bc9c1336415b75f1657408700a","user":{"login":"iocage","id":11825280,"avatar_url":"https://avatars.githubusercontent.com/u/11825280?v=3","gravatar_id":"","url":"https://api.github.com/users/iocage","html_url":"https://github.com/iocage","followers_url":"https://api.github.com/users/iocage/followers","following_url":"https://api.github.com/users/iocage/following{/other_user}","gists_url":"https://api.github.com/users/iocage/gists{/gist_id}","starred_url":"https://api.github.com/users/iocage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocage/subscriptions","organizations_url":"https://api.github.com/users/iocage/orgs","repos_url":"https://api.github.com/users/iocage/repos","events_url":"https://api.github.com/users/iocage/events{/privacy}","received_events_url":"https://api.github.com/users/iocage/received_events","type":"Organization","site_admin":false},"repo":{"id":20349637,"name":"iocage","full_name":"iocage/iocage","owner":{"login":"iocage","id":11825280,"avatar_url":"https://avatars.githubusercontent.com/u/11825280?v=3","gravatar_id":"","url":"https://api.github.com/users/iocage","html_url":"https://github.com/iocage","followers_url":"https://api.github.com/users/iocage/followers","following_url":"https://api.github.com/users/iocage/following{/other_user}","gists_url":"https://api.github.com/users/iocage/gists{/gist_id}","starred_url":"https://api.github.com/users/iocage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocage/subscriptions","organizations_url":"https://api.github.com/users/iocage/orgs","repos_url":"https://api.github.com/users/iocage/repos","events_url":"https://api.github.com/users/iocage/events{/privacy}","received_events_url":"https://api.github.com/users/iocage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iocage/iocage","description":"FreeBSD jail manager","fork":false,"url":"https://api.github.com/repos/iocage/iocage","forks_url":"https://api.github.com/repos/iocage/iocage/forks","keys_url":"https://api.github.com/repos/iocage/iocage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iocage/iocage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iocage/iocage/teams","hooks_url":"https://api.github.com/repos/iocage/iocage/hooks","issue_events_url":"https://api.github.com/repos/iocage/iocage/issues/events{/number}","events_url":"https://api.github.com/repos/iocage/iocage/events","assignees_url":"https://api.github.com/repos/iocage/iocage/assignees{/user}","branches_url":"https://api.github.com/repos/iocage/iocage/branches{/branch}","tags_url":"https://api.github.com/repos/iocage/iocage/tags","blobs_url":"https://api.github.com/repos/iocage/iocage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iocage/iocage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iocage/iocage/git/refs{/sha}","trees_url":"https://api.github.com/repos/iocage/iocage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iocage/iocage/statuses/{sha}","languages_url":"https://api.github.com/repos/iocage/iocage/languages","stargazers_url":"https://api.github.com/repos/iocage/iocage/stargazers","contributors_url":"https://api.github.com/repos/iocage/iocage/contributors","subscribers_url":"https://api.github.com/repos/iocage/iocage/subscribers","subscription_url":"https://api.github.com/repos/iocage/iocage/subscription","commits_url":"https://api.github.com/repos/iocage/iocage/commits{/sha}","git_commits_url":"https://api.github.com/repos/iocage/iocage/git/commits{/sha}","comments_url":"https://api.github.com/repos/iocage/iocage/comments{/number}","issue_comment_url":"https://api.github.com/repos/iocage/iocage/issues/comments{/number}","contents_url":"https://api.github.com/repos/iocage/iocage/contents/{+path}","compare_url":"https://api.github.com/repos/iocage/iocage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iocage/iocage/merges","archive_url":"https://api.github.com/repos/iocage/iocage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iocage/iocage/downloads","issues_url":"https://api.github.com/repos/iocage/iocage/issues{/number}","pulls_url":"https://api.github.com/repos/iocage/iocage/pulls{/number}","milestones_url":"https://api.github.com/repos/iocage/iocage/milestones{/number}","notifications_url":"https://api.github.com/repos/iocage/iocage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iocage/iocage/labels{/name}","releases_url":"https://api.github.com/repos/iocage/iocage/releases{/id}","created_at":"2014-05-31T05:20:01Z","updated_at":"2015-09-12T13:47:23Z","pushed_at":"2015-09-14T21:42:10Z","git_url":"git://github.com/iocage/iocage.git","ssh_url":"git@github.com:iocage/iocage.git","clone_url":"https://github.com/iocage/iocage.git","svn_url":"https://github.com/iocage/iocage","homepage":"http://iocage.readthedocs.org","size":4344,"stargazers_count":174,"watchers_count":174,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":40,"mirror_url":null,"open_issues_count":6,"forks":40,"open_issues":6,"watchers":174,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/iocage/iocage/pulls/222"},"html":{"href":"https://github.com/iocage/iocage/pull/222"},"issue":{"href":"https://api.github.com/repos/iocage/iocage/issues/222"},"comments":{"href":"https://api.github.com/repos/iocage/iocage/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/iocage/iocage/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/iocage/iocage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iocage/iocage/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/iocage/iocage/statuses/16dc98f8443d711531382b7f735e256926205862"}}}}