{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/363","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/363/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/363/events","html_url":"https://github.com/xcat2/xcat-core/pull/363","id":115142453,"number":363,"title":"makedhcp -n on rhels7 complains about missing dhcpd6 file","user":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"penguhyang","id":13343411,"avatar_url":"https://avatars.githubusercontent.com/u/13343411?v=3","gravatar_id":"","url":"https://api.github.com/users/penguhyang","html_url":"https://github.com/penguhyang","followers_url":"https://api.github.com/users/penguhyang/followers","following_url":"https://api.github.com/users/penguhyang/following{/other_user}","gists_url":"https://api.github.com/users/penguhyang/gists{/gist_id}","starred_url":"https://api.github.com/users/penguhyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penguhyang/subscriptions","organizations_url":"https://api.github.com/users/penguhyang/orgs","repos_url":"https://api.github.com/users/penguhyang/repos","events_url":"https://api.github.com/users/penguhyang/events{/privacy}","received_events_url":"https://api.github.com/users/penguhyang/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3","html_url":"https://github.com/xcat2/xcat-core/milestones/2.11","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3/labels","id":1237674,"number":3,"title":"2.11","description":"xCAT 2.11","creator":{"login":"ligc","id":4415329,"avatar_url":"https://avatars.githubusercontent.com/u/4415329?v=3","gravatar_id":"","url":"https://api.github.com/users/ligc","html_url":"https://github.com/ligc","followers_url":"https://api.github.com/users/ligc/followers","following_url":"https://api.github.com/users/ligc/following{/other_user}","gists_url":"https://api.github.com/users/ligc/gists{/gist_id}","starred_url":"https://api.github.com/users/ligc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligc/subscriptions","organizations_url":"https://api.github.com/users/ligc/orgs","repos_url":"https://api.github.com/users/ligc/repos","events_url":"https://api.github.com/users/ligc/events{/privacy}","received_events_url":"https://api.github.com/users/ligc/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":137,"state":"open","created_at":"2015-08-03T06:33:22Z","updated_at":"2015-11-18T06:29:23Z","due_on":"2015-12-14T05:00:00Z","closed_at":null},"comments":6,"created_at":"2015-11-04T20:41:42Z","updated_at":"2015-11-18T18:16:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/363","html_url":"https://github.com/xcat2/xcat-core/pull/363","diff_url":"https://github.com/xcat2/xcat-core/pull/363.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/363.patch"},"body":"To address Issue #299 \r\n\r\n\r\nSimilar to SLES 11.3 and later, ``dhcp`` on rhels7 stores the dhcpd configuration \r\nin the /etc/sysconfig/dhcpd file. There's no separate file for ipv4 and ipv6. \r\n\r\nShould we be checking rhels7 and higher? or is this sufficient for now? "},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/157807414","html_url":"https://github.com/xcat2/xcat-core/pull/363#issuecomment-157807414","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/363","id":157807414,"user":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T18:16:57Z","updated_at":"2015-11-18T18:16:57Z","body":"@penguhyang  I added some code to check version with the last commit, can you please review and merge if acceptable. \r\n\r\nBased on this small test program...\r\n\r\n```\r\n#!/usr/bin/perl\r\nmy $os = \"rhels6.5\";\r\n#my $os = \"sles11\";\r\n#my $os = \"sles10\";\r\n#my $os = \"rhels7\";\r\n#my $os = \"rhels7.2\";\r\n\r\nprint \"Looking at ... $os\\n\";\r\n\r\nmy $os_ver = $os;\r\n$os_ver =~ s/[^0-9.^0-9]//g;\r\n\r\nif (($os =~ /sles/i && $os_ver >= 11) ||\r\n    ($os =~ /rhels/i && $os_ver >= 7)) {\r\n\r\n    print \"Yes, >= sles 11 or >= rhels7\\n\";\r\n}\r\n```\r\n"}}