{"action":"created","issue":{"url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/63","repository_url":"https://api.github.com/repos/emyl/vagrant-triggers","labels_url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/63/comments","events_url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/63/events","html_url":"https://github.com/emyl/vagrant-triggers/issues/63","id":138489674,"number":63,"title":"Trigger script only on first vagrant up","user":{"login":"WillGibson","id":8738245,"avatar_url":"https://avatars.githubusercontent.com/u/8738245?v=3","gravatar_id":"","url":"https://api.github.com/users/WillGibson","html_url":"https://github.com/WillGibson","followers_url":"https://api.github.com/users/WillGibson/followers","following_url":"https://api.github.com/users/WillGibson/following{/other_user}","gists_url":"https://api.github.com/users/WillGibson/gists{/gist_id}","starred_url":"https://api.github.com/users/WillGibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillGibson/subscriptions","organizations_url":"https://api.github.com/users/WillGibson/orgs","repos_url":"https://api.github.com/users/WillGibson/repos","events_url":"https://api.github.com/users/WillGibson/events{/privacy}","received_events_url":"https://api.github.com/users/WillGibson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T14:31:42Z","updated_at":"2016-03-05T02:00:28Z","closed_at":null,"body":"Maybe this is already possible, but I can't find any documentation to point me in the right direction, but...\r\n\r\nIs it possible to hook into the \"after up\" only when the Vagrant box is created from scratch?"},"comment":{"url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/comments/192550547","html_url":"https://github.com/emyl/vagrant-triggers/issues/63#issuecomment-192550547","issue_url":"https://api.github.com/repos/emyl/vagrant-triggers/issues/63","id":192550547,"user":{"login":"damko","id":1107588,"avatar_url":"https://avatars.githubusercontent.com/u/1107588?v=3","gravatar_id":"","url":"https://api.github.com/users/damko","html_url":"https://github.com/damko","followers_url":"https://api.github.com/users/damko/followers","following_url":"https://api.github.com/users/damko/following{/other_user}","gists_url":"https://api.github.com/users/damko/gists{/gist_id}","starred_url":"https://api.github.com/users/damko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damko/subscriptions","organizations_url":"https://api.github.com/users/damko/orgs","repos_url":"https://api.github.com/users/damko/repos","events_url":"https://api.github.com/users/damko/events{/privacy}","received_events_url":"https://api.github.com/users/damko/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T02:00:28Z","updated_at":"2016-03-05T02:00:28Z","body":"Hello Will,\r\n\r\nthis does not answer your question precisely but I've been working on this today.\r\n\r\nSo far I've got this http://pastebin.com/9kjgmiDm\r\n\r\nCheck the FROM_SCRATCH variable in that Vagrantfile, maybe you can get some ideas.\r\n\r\nI'm also looking for the \"after up\" scenario. If I will have some news I'll keep you posted"}}