{"action":"created","issue":{"url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/137","labels_url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/137/comments","events_url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/137/events","html_url":"https://github.com/purpleidea/oh-my-vagrant/pull/137","id":117230504,"number":137,"title":"Use --stdin for RHEL derivatives passwd only","user":{"login":"br0ziliy","id":1941223,"avatar_url":"https://avatars.githubusercontent.com/u/1941223?v=3","gravatar_id":"","url":"https://api.github.com/users/br0ziliy","html_url":"https://github.com/br0ziliy","followers_url":"https://api.github.com/users/br0ziliy/followers","following_url":"https://api.github.com/users/br0ziliy/following{/other_user}","gists_url":"https://api.github.com/users/br0ziliy/gists{/gist_id}","starred_url":"https://api.github.com/users/br0ziliy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/br0ziliy/subscriptions","organizations_url":"https://api.github.com/users/br0ziliy/orgs","repos_url":"https://api.github.com/users/br0ziliy/repos","events_url":"https://api.github.com/users/br0ziliy/events{/privacy}","received_events_url":"https://api.github.com/users/br0ziliy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T22:12:15Z","updated_at":"2015-11-16T22:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/pulls/137","html_url":"https://github.com/purpleidea/oh-my-vagrant/pull/137","diff_url":"https://github.com/purpleidea/oh-my-vagrant/pull/137.diff","patch_url":"https://github.com/purpleidea/oh-my-vagrant/pull/137.patch"},"body":"Hi James,\r\n\r\nI have started to use Debian with OMV and did face some issues.\r\nStarting with this minor change:\r\n`--stdin` is not supported on Debian derivatives of `passwd` utility, use\r\nanother method to set root password.\r\nAlso if VM update requested - take this into account and call `apt-get` instead of `yum`."},"comment":{"url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/comments/157195790","html_url":"https://github.com/purpleidea/oh-my-vagrant/pull/137#issuecomment-157195790","issue_url":"https://api.github.com/repos/purpleidea/oh-my-vagrant/issues/137","id":157195790,"user":{"login":"purpleidea","id":135091,"avatar_url":"https://avatars.githubusercontent.com/u/135091?v=3","gravatar_id":"","url":"https://api.github.com/users/purpleidea","html_url":"https://github.com/purpleidea","followers_url":"https://api.github.com/users/purpleidea/followers","following_url":"https://api.github.com/users/purpleidea/following{/other_user}","gists_url":"https://api.github.com/users/purpleidea/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleidea/subscriptions","organizations_url":"https://api.github.com/users/purpleidea/orgs","repos_url":"https://api.github.com/users/purpleidea/repos","events_url":"https://api.github.com/users/purpleidea/events{/privacy}","received_events_url":"https://api.github.com/users/purpleidea/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T22:42:54Z","updated_at":"2015-11-16T22:42:54Z","body":"@br0ziliy Awesome, I'd love to get good debian support. Two comments:\r\n\r\n1)\r\n> apt-get -y dist-upgrade\r\nDon't you mean 'apt-get update && apt-get -y upgrade' ?\r\n\r\n2) You forgot CentOS\r\nI'm happy to either accept this patch with the addition of CentOS\r\n*or* take an updated patch (in either one or more commits) that adds a separate is_apt && is_yum variables so that all those checks (if centos, if fedora, etc...) happen in one place, and then you do the is_yum check everywhere else.\r\n\r\nCheers,\r\nJames\r\n"}}