{"action":"created","comment":{"url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/comments/77952100","id":77952100,"diff_hunk":"@@ -20,14 +21,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|\n     end\r\n   end\r\n \r\n+  config.ssh.insert_key = false # for vagrant 1.8.5 see https://github.com/mitchellh/vagrant/issues/7610#issuecomment-234609660\r","path":"Vagrantfile","position":19,"original_position":19,"commit_id":"d068d079bb3c78f942039b4ee1112dbfb7c51fe6","original_commit_id":"d068d079bb3c78f942039b4ee1112dbfb7c51fe6","user":{"login":"AnwarYagoub","id":5208529,"avatar_url":"https://avatars.githubusercontent.com/u/5208529?v=3","gravatar_id":"","url":"https://api.github.com/users/AnwarYagoub","html_url":"https://github.com/AnwarYagoub","followers_url":"https://api.github.com/users/AnwarYagoub/followers","following_url":"https://api.github.com/users/AnwarYagoub/following{/other_user}","gists_url":"https://api.github.com/users/AnwarYagoub/gists{/gist_id}","starred_url":"https://api.github.com/users/AnwarYagoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnwarYagoub/subscriptions","organizations_url":"https://api.github.com/users/AnwarYagoub/orgs","repos_url":"https://api.github.com/users/AnwarYagoub/repos","events_url":"https://api.github.com/users/AnwarYagoub/events{/privacy}","received_events_url":"https://api.github.com/users/AnwarYagoub/received_events","type":"User","site_admin":false},"body":"@smartbit \r\nthe problem is **/home/vagrant/.ssh/authorized_keys** permission within the guest.\r\n\r\n**Solution 1:**\r\nmanually insert the following line to ( /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/guests/linux/cap/public_key.rb) after line 56 (mv ~/.ssh/authorized_keys.tmp ~/.ssh/authorized_keys):\r\n\r\nchmod 0600 ~/.ssh/authorized_keys\r\n\r\n**Solution 2:**\r\ncreate patch file with the following contents\r\n```shell\r\n56a57\r\n>               chmod 0600 ~/.ssh/authorized_keys\r\n```\r\nand apply the patch\r\n```shell\r\n$ sudo patch /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/plugins/guests/linux/cap/public_key.rb < patch_file\r\n```","created_at":"2016-09-08T06:30:38Z","updated_at":"2016-09-08T06:30:38Z","html_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1#discussion_r77952100","pull_request_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/comments/77952100"},"html":{"href":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1#discussion_r77952100"},"pull_request":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1","id":84302056,"html_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1","diff_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1.diff","patch_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1.patch","issue_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/1","number":1,"state":"open","locked":false,"title":"Update to v2.0 of Appendix D & other updates","user":{"login":"smartbit","id":16225624,"avatar_url":"https://avatars.githubusercontent.com/u/16225624?v=3","gravatar_id":"","url":"https://api.github.com/users/smartbit","html_url":"https://github.com/smartbit","followers_url":"https://api.github.com/users/smartbit/followers","following_url":"https://api.github.com/users/smartbit/following{/other_user}","gists_url":"https://api.github.com/users/smartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/smartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartbit/subscriptions","organizations_url":"https://api.github.com/users/smartbit/orgs","repos_url":"https://api.github.com/users/smartbit/repos","events_url":"https://api.github.com/users/smartbit/events{/privacy}","received_events_url":"https://api.github.com/users/smartbit/received_events","type":"User","site_admin":false},"body":"Update to match [Appendix D 2.0.pdf](https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/files/459076/Appendix.D.2.0.pdf) and be consistent in the labs eg. \r\n* `192.168.4.0/24` instead of `192.168.122.0/24`\r\n* only use primary DNS `8.8.8.8`, removed secondary `8.8.4.4` (although this is not a best practice)\r\n\r\nOther items\r\n* added `haveged` to [speedup](http://blog-ftweedal.rhcloud.com/2014/05/more-entropy-with-haveged/) install of FreeIPA\r\n* added `bash-completion` to assist with those pesky `nmcli`commands\r\n*  install [EPEL](https://fedoraproject.org/wiki/EPEL) and update cache-proxy with [epel-mirrors](https://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64&country=global) and [allow https](https://www.pitt-pladdy.com/blog/_20150720-132951_0100_Home_Lab_Project_apt-cacher-ng_with_CentOS/)\r\n* use _dynamic_ [CentOS mirrors](https://www.centos.org/download/full-mirrorlist.csv) list\r\n* lower case `freeipa` for consistency on vagrant command line","created_at":"2016-09-07T13:41:12Z","updated_at":"2016-09-08T06:30:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9c9f1138ad10e1623acf6658e49dc595a8e0a06","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/1/comments","statuses_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/statuses/d068d079bb3c78f942039b4ee1112dbfb7c51fe6","head":{"label":"smartbit:appendix-D-v2.0","ref":"appendix-D-v2.0","sha":"d068d079bb3c78f942039b4ee1112dbfb7c51fe6","user":{"login":"smartbit","id":16225624,"avatar_url":"https://avatars.githubusercontent.com/u/16225624?v=3","gravatar_id":"","url":"https://api.github.com/users/smartbit","html_url":"https://github.com/smartbit","followers_url":"https://api.github.com/users/smartbit/followers","following_url":"https://api.github.com/users/smartbit/following{/other_user}","gists_url":"https://api.github.com/users/smartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/smartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartbit/subscriptions","organizations_url":"https://api.github.com/users/smartbit/orgs","repos_url":"https://api.github.com/users/smartbit/repos","events_url":"https://api.github.com/users/smartbit/events{/privacy}","received_events_url":"https://api.github.com/users/smartbit/received_events","type":"User","site_admin":false},"repo":{"id":67600365,"name":"RHCSA-RHCE-Lab-Environment","full_name":"smartbit/RHCSA-RHCE-Lab-Environment","owner":{"login":"smartbit","id":16225624,"avatar_url":"https://avatars.githubusercontent.com/u/16225624?v=3","gravatar_id":"","url":"https://api.github.com/users/smartbit","html_url":"https://github.com/smartbit","followers_url":"https://api.github.com/users/smartbit/followers","following_url":"https://api.github.com/users/smartbit/following{/other_user}","gists_url":"https://api.github.com/users/smartbit/gists{/gist_id}","starred_url":"https://api.github.com/users/smartbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartbit/subscriptions","organizations_url":"https://api.github.com/users/smartbit/orgs","repos_url":"https://api.github.com/users/smartbit/repos","events_url":"https://api.github.com/users/smartbit/events{/privacy}","received_events_url":"https://api.github.com/users/smartbit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smartbit/RHCSA-RHCE-Lab-Environment","description":"Lab environment for RHCSA/RHCE Cert Guide book by Sander Van Vugt","fork":true,"url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment","forks_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/forks","keys_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/teams","hooks_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/hooks","issue_events_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/issues/events{/number}","events_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/events","assignees_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/assignees{/user}","branches_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/branches{/branch}","tags_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/tags","blobs_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/statuses/{sha}","languages_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/languages","stargazers_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/stargazers","contributors_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/contributors","subscribers_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/subscribers","subscription_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/subscription","commits_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/contents/{+path}","compare_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/merges","archive_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/downloads","issues_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/issues{/number}","pulls_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/pulls{/number}","milestones_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/milestones{/number}","notifications_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/labels{/name}","releases_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/releases{/id}","deployments_url":"https://api.github.com/repos/smartbit/RHCSA-RHCE-Lab-Environment/deployments","created_at":"2016-09-07T11:25:13Z","updated_at":"2016-08-27T17:00:03Z","pushed_at":"2016-09-07T14:05:14Z","git_url":"git://github.com/smartbit/RHCSA-RHCE-Lab-Environment.git","ssh_url":"git@github.com:smartbit/RHCSA-RHCE-Lab-Environment.git","clone_url":"https://github.com/smartbit/RHCSA-RHCE-Lab-Environment.git","svn_url":"https://github.com/smartbit/RHCSA-RHCE-Lab-Environment","homepage":null,"size":48,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AnwarYagoub:master","ref":"master","sha":"2f0bd511580528ae220afb91ddc09156392bc264","user":{"login":"AnwarYagoub","id":5208529,"avatar_url":"https://avatars.githubusercontent.com/u/5208529?v=3","gravatar_id":"","url":"https://api.github.com/users/AnwarYagoub","html_url":"https://github.com/AnwarYagoub","followers_url":"https://api.github.com/users/AnwarYagoub/followers","following_url":"https://api.github.com/users/AnwarYagoub/following{/other_user}","gists_url":"https://api.github.com/users/AnwarYagoub/gists{/gist_id}","starred_url":"https://api.github.com/users/AnwarYagoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnwarYagoub/subscriptions","organizations_url":"https://api.github.com/users/AnwarYagoub/orgs","repos_url":"https://api.github.com/users/AnwarYagoub/repos","events_url":"https://api.github.com/users/AnwarYagoub/events{/privacy}","received_events_url":"https://api.github.com/users/AnwarYagoub/received_events","type":"User","site_admin":false},"repo":{"id":66725632,"name":"RHCSA-RHCE-Lab-Environment","full_name":"AnwarYagoub/RHCSA-RHCE-Lab-Environment","owner":{"login":"AnwarYagoub","id":5208529,"avatar_url":"https://avatars.githubusercontent.com/u/5208529?v=3","gravatar_id":"","url":"https://api.github.com/users/AnwarYagoub","html_url":"https://github.com/AnwarYagoub","followers_url":"https://api.github.com/users/AnwarYagoub/followers","following_url":"https://api.github.com/users/AnwarYagoub/following{/other_user}","gists_url":"https://api.github.com/users/AnwarYagoub/gists{/gist_id}","starred_url":"https://api.github.com/users/AnwarYagoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnwarYagoub/subscriptions","organizations_url":"https://api.github.com/users/AnwarYagoub/orgs","repos_url":"https://api.github.com/users/AnwarYagoub/repos","events_url":"https://api.github.com/users/AnwarYagoub/events{/privacy}","received_events_url":"https://api.github.com/users/AnwarYagoub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment","description":"Lab environment for RHCSA/RHCE Cert Guide book by Sander Van Vugt","fork":false,"url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment","forks_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/forks","keys_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/teams","hooks_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/hooks","issue_events_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/events{/number}","events_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/events","assignees_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/assignees{/user}","branches_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/branches{/branch}","tags_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/tags","blobs_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/statuses/{sha}","languages_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/languages","stargazers_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/stargazers","contributors_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/contributors","subscribers_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/subscribers","subscription_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/subscription","commits_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/contents/{+path}","compare_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/merges","archive_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/downloads","issues_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues{/number}","pulls_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls{/number}","milestones_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/milestones{/number}","notifications_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/labels{/name}","releases_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/releases{/id}","deployments_url":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/deployments","created_at":"2016-08-27T17:00:03Z","updated_at":"2016-08-27T17:00:03Z","pushed_at":"2016-09-07T14:05:14Z","git_url":"git://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment.git","ssh_url":"git@github.com:AnwarYagoub/RHCSA-RHCE-Lab-Environment.git","clone_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment.git","svn_url":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1"},"html":{"href":"https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pull/1"},"issue":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/1"},"comments":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AnwarYagoub/RHCSA-RHCE-Lab-Environment/statuses/d068d079bb3c78f942039b4ee1112dbfb7c51fe6"}}}}
{"actor":{"display_login":"AnwarYagoub"}}