{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7","id":36845135,"html_url":"https://github.com/tripledes/sjimenez-lxc/pull/7","diff_url":"https://github.com/tripledes/sjimenez-lxc/pull/7.diff","patch_url":"https://github.com/tripledes/sjimenez-lxc/pull/7.patch","issue_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/7","number":7,"state":"open","locked":false,"title":"Remove workaround for handling `ipv4.gateway`","user":{"login":"luxflux","id":124441,"avatar_url":"https://avatars.githubusercontent.com/u/124441?v=3","gravatar_id":"","url":"https://api.github.com/users/luxflux","html_url":"https://github.com/luxflux","followers_url":"https://api.github.com/users/luxflux/followers","following_url":"https://api.github.com/users/luxflux/following{/other_user}","gists_url":"https://api.github.com/users/luxflux/gists{/gist_id}","starred_url":"https://api.github.com/users/luxflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxflux/subscriptions","organizations_url":"https://api.github.com/users/luxflux/orgs","repos_url":"https://api.github.com/users/luxflux/repos","events_url":"https://api.github.com/users/luxflux/events{/privacy}","received_events_url":"https://api.github.com/users/luxflux/received_events","type":"User","site_admin":false},"body":"On Ubuntu Trusty, using `ipv4.gateway' works fine:\r\n\r\n```ruby\r\nc = LXC::Container.new('vpn') # => #<LXC::Container:0x0000000203d408>\r\nc.config_item(\"lxc.network.0.ipv4.gateway\") # => \"10.0.0.1\"\r\nc.set_config_item(\"lxc.network.0.ipv4.gateway\", '10.0.0.2') # => #<LXC::Container:0x0000000203d408>\r\nc.config_item(\"lxc.network.0.ipv4.gateway\") # => \"10.0.0.2\"\r\nc.save_config # => #<LXC::Container:0x00000001e49bb0>\r\n```\r\n\r\n```bash\r\nroot@ubuntu:~# grep ipv4 /var/lib/lxc/vpn/config\r\nlxc.network.ipv4.gateway = 10.0.0.2\r\nlxc.network.ipv4 = 10.0.0.4/24\r\n```","created_at":"2015-06-03T15:28:34Z","updated_at":"2015-06-03T15:28:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/7/comments","statuses_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/statuses/603a5276ddcffb2c351401b65864976e954774a3","head":{"label":"luxflux:patch-2","ref":"patch-2","sha":"603a5276ddcffb2c351401b65864976e954774a3","user":{"login":"luxflux","id":124441,"avatar_url":"https://avatars.githubusercontent.com/u/124441?v=3","gravatar_id":"","url":"https://api.github.com/users/luxflux","html_url":"https://github.com/luxflux","followers_url":"https://api.github.com/users/luxflux/followers","following_url":"https://api.github.com/users/luxflux/following{/other_user}","gists_url":"https://api.github.com/users/luxflux/gists{/gist_id}","starred_url":"https://api.github.com/users/luxflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxflux/subscriptions","organizations_url":"https://api.github.com/users/luxflux/orgs","repos_url":"https://api.github.com/users/luxflux/repos","events_url":"https://api.github.com/users/luxflux/events{/privacy}","received_events_url":"https://api.github.com/users/luxflux/received_events","type":"User","site_admin":false},"repo":{"id":36440792,"name":"sjimenez-lxc","full_name":"luxflux/sjimenez-lxc","owner":{"login":"luxflux","id":124441,"avatar_url":"https://avatars.githubusercontent.com/u/124441?v=3","gravatar_id":"","url":"https://api.github.com/users/luxflux","html_url":"https://github.com/luxflux","followers_url":"https://api.github.com/users/luxflux/followers","following_url":"https://api.github.com/users/luxflux/following{/other_user}","gists_url":"https://api.github.com/users/luxflux/gists{/gist_id}","starred_url":"https://api.github.com/users/luxflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxflux/subscriptions","organizations_url":"https://api.github.com/users/luxflux/orgs","repos_url":"https://api.github.com/users/luxflux/repos","events_url":"https://api.github.com/users/luxflux/events{/privacy}","received_events_url":"https://api.github.com/users/luxflux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luxflux/sjimenez-lxc","description":"Puppet module for LXC management","fork":true,"url":"https://api.github.com/repos/luxflux/sjimenez-lxc","forks_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/forks","keys_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/teams","hooks_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/hooks","issue_events_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/issues/events{/number}","events_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/events","assignees_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/assignees{/user}","branches_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/branches{/branch}","tags_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/tags","blobs_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/git/refs{/sha}","trees_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/statuses/{sha}","languages_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/languages","stargazers_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/stargazers","contributors_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/contributors","subscribers_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/subscribers","subscription_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/subscription","commits_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/commits{/sha}","git_commits_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/git/commits{/sha}","comments_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/comments{/number}","issue_comment_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/issues/comments{/number}","contents_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/contents/{+path}","compare_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/merges","archive_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/downloads","issues_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/issues{/number}","pulls_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/pulls{/number}","milestones_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/milestones{/number}","notifications_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/labels{/name}","releases_url":"https://api.github.com/repos/luxflux/sjimenez-lxc/releases{/id}","created_at":"2015-05-28T13:38:42Z","updated_at":"2015-05-28T13:38:42Z","pushed_at":"2015-06-03T15:27:14Z","git_url":"git://github.com/luxflux/sjimenez-lxc.git","ssh_url":"git@github.com:luxflux/sjimenez-lxc.git","clone_url":"https://github.com/luxflux/sjimenez-lxc.git","svn_url":"https://github.com/luxflux/sjimenez-lxc","homepage":null,"size":220,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"tripledes:develop","ref":"develop","sha":"32ddcf8f686577b2dd9e378d279bf029ce40aaaa","user":{"login":"tripledes","id":1364019,"avatar_url":"https://avatars.githubusercontent.com/u/1364019?v=3","gravatar_id":"","url":"https://api.github.com/users/tripledes","html_url":"https://github.com/tripledes","followers_url":"https://api.github.com/users/tripledes/followers","following_url":"https://api.github.com/users/tripledes/following{/other_user}","gists_url":"https://api.github.com/users/tripledes/gists{/gist_id}","starred_url":"https://api.github.com/users/tripledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tripledes/subscriptions","organizations_url":"https://api.github.com/users/tripledes/orgs","repos_url":"https://api.github.com/users/tripledes/repos","events_url":"https://api.github.com/users/tripledes/events{/privacy}","received_events_url":"https://api.github.com/users/tripledes/received_events","type":"User","site_admin":false},"repo":{"id":23524503,"name":"sjimenez-lxc","full_name":"tripledes/sjimenez-lxc","owner":{"login":"tripledes","id":1364019,"avatar_url":"https://avatars.githubusercontent.com/u/1364019?v=3","gravatar_id":"","url":"https://api.github.com/users/tripledes","html_url":"https://github.com/tripledes","followers_url":"https://api.github.com/users/tripledes/followers","following_url":"https://api.github.com/users/tripledes/following{/other_user}","gists_url":"https://api.github.com/users/tripledes/gists{/gist_id}","starred_url":"https://api.github.com/users/tripledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tripledes/subscriptions","organizations_url":"https://api.github.com/users/tripledes/orgs","repos_url":"https://api.github.com/users/tripledes/repos","events_url":"https://api.github.com/users/tripledes/events{/privacy}","received_events_url":"https://api.github.com/users/tripledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tripledes/sjimenez-lxc","description":"Puppet module for LXC management","fork":false,"url":"https://api.github.com/repos/tripledes/sjimenez-lxc","forks_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/forks","keys_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/teams","hooks_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/hooks","issue_events_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/events{/number}","events_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/events","assignees_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/assignees{/user}","branches_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/branches{/branch}","tags_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/tags","blobs_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/git/refs{/sha}","trees_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/statuses/{sha}","languages_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/languages","stargazers_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/stargazers","contributors_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/contributors","subscribers_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/subscribers","subscription_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/subscription","commits_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/commits{/sha}","git_commits_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/git/commits{/sha}","comments_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/comments{/number}","issue_comment_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/comments{/number}","contents_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/contents/{+path}","compare_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/merges","archive_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/downloads","issues_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues{/number}","pulls_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls{/number}","milestones_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/milestones{/number}","notifications_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/labels{/name}","releases_url":"https://api.github.com/repos/tripledes/sjimenez-lxc/releases{/id}","created_at":"2014-08-31T22:31:38Z","updated_at":"2015-03-14T22:11:57Z","pushed_at":"2015-06-03T15:28:34Z","git_url":"git://github.com/tripledes/sjimenez-lxc.git","ssh_url":"git@github.com:tripledes/sjimenez-lxc.git","clone_url":"https://github.com/tripledes/sjimenez-lxc.git","svn_url":"https://github.com/tripledes/sjimenez-lxc","homepage":null,"size":625,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7"},"html":{"href":"https://github.com/tripledes/sjimenez-lxc/pull/7"},"issue":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/7"},"comments":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tripledes/sjimenez-lxc/statuses/603a5276ddcffb2c351401b65864976e954774a3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":4,"changed_files":1}}