{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/6787","repository_url":"https://api.github.com/repos/hashicorp/vagrant","labels_url":"https://api.github.com/repos/hashicorp/vagrant/issues/6787/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vagrant/issues/6787/comments","events_url":"https://api.github.com/repos/hashicorp/vagrant/issues/6787/events","html_url":"https://github.com/hashicorp/vagrant/issues/6787","id":124723338,"node_id":"MDU6SXNzdWUxMjQ3MjMzMzg=","number":6787,"title":"vagrant resume runs provisioners","user":{"login":"hgraca","id":1809002,"node_id":"MDQ6VXNlcjE4MDkwMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1809002?v=4","gravatar_id":"","url":"https://api.github.com/users/hgraca","html_url":"https://github.com/hgraca","followers_url":"https://api.github.com/users/hgraca/followers","following_url":"https://api.github.com/users/hgraca/following{/other_user}","gists_url":"https://api.github.com/users/hgraca/gists{/gist_id}","starred_url":"https://api.github.com/users/hgraca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgraca/subscriptions","organizations_url":"https://api.github.com/users/hgraca/orgs","repos_url":"https://api.github.com/users/hgraca/repos","events_url":"https://api.github.com/users/hgraca/events{/privacy}","received_events_url":"https://api.github.com/users/hgraca/received_events","type":"User","site_admin":false},"labels":[{"id":25816,"node_id":"MDU6TGFiZWwyNTgxNg==","url":"https://api.github.com/repos/hashicorp/vagrant/labels/bug","name":"bug","color":"e11d21","default":true},{"id":139179672,"node_id":"MDU6TGFiZWwxMzkxNzk2NzI=","url":"https://api.github.com/repos/hashicorp/vagrant/labels/core","name":"core","color":"eb6420","default":false},{"id":283683436,"node_id":"MDU6TGFiZWwyODM2ODM0MzY=","url":"https://api.github.com/repos/hashicorp/vagrant/labels/has-pr","name":"has-pr","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-01-04T09:32:35Z","updated_at":"2018-10-09T12:55:48Z","closed_at":"2016-05-27T21:07:41Z","author_association":"NONE","body":"Hi,\n\nIm experiencing what seems to be a bug:\n\nI run `vagrant up` and it boots and provisions the box properly, using my customized box which already has most of my required packages installed.\n\nI run `vagrant suspend` and it suspends the box properly.\n\nI run `vagrant resume` and it resumes the box BUT it also starts running the provisioners.\n\nIs this a bug or am I doing something wrong?\nAny hint as to why this might be happening?\n\nUsing:\nVagrant 1.8.1\nvbox 5.0.12r104815\n\nThis is my vagrantfile:\n\n``` rb\n# -*- mode: ruby -*-\n# vi: set ft=ruby :\n\nrequired_plugins = %w(vagrant-bindfs vagrant-vbguest vagrant-triggers vagrant-s3auth)\n\nplugins_to_install = required_plugins.select { |plugin| not Vagrant.has_plugin? plugin }\nif not plugins_to_install.empty?\n  puts \"Installing plugins: #{plugins_to_install.join(' ')}\"\n  if system \"vagrant plugin install #{plugins_to_install.join(' ')}\"\n    exec \"vagrant #{ARGV.join(' ')}\"\n  else\n    abort \"Installation of one or more plugins has failed. Aborting.\"\n  end\nend\n\nVagrant.configure(2) do |config|\n  config.vm.box = \"<my_vendor>/base-trusty64\"\n  config.vm.box_check_update = false\n  config.vm.box_url = \"https://s3.amazonaws.com/<my-boxes>/base-trusty64.json\"\n\n  config.vm.network \"private_network\", ip: \"172.16.0.100\"\n\n  if Vagrant.has_plugin?('vagrant-bindfs')\n     config.vm.synced_folder \"./www\", \"/mnt/vagrant\", type: 'nfs'\n     config.bindfs.bind_folder \"/mnt/vagrant\", \"/var/www/<my_vendor>\", owner: \"<my_vendor>\", group: \"<my_vendor>\", perms: \"u=rwx:g=rwx:o=rwx\", o: \"nonempty\"\n  else\n     exit;\n  end\n\n  config.vm.provider \"virtualbox\" do |vb|\n    require 'time'\n    vb.memory = \"2048\"\n    vb.cpus = 4\n    vb.name = \"<my_vendor>.webshopapp.dev___\" + Time.now.utc.iso8601\n  end\n\n  config.vm.provision \"Fix for 'stdin: is not a tty'\", type: \"shell\" do |s|\n    s.inline = \"sed -i '/tty/!s/mesg n/tty -s \\\\&\\\\& mesg n/' /root/.profile\"\n  end\n\n  config.vm.provision \"Provisioning\", type: \"shell\"  do |s|\n    s.path = 'var/setup/execute-files.sh'\n  end\n\n  config.trigger.after [:up,:reload,:resume] do\n    run_remote  \"/bin/bash /vagrant/var/sh/startup/restart-supervisor.sh\"\n  end\n\n  config.trigger.before [:up,:reload] do |s|\n    system('vagrant box outdated')\n  end\nend\n```\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/comments/428180774","html_url":"https://github.com/hashicorp/vagrant/issues/6787#issuecomment-428180774","issue_url":"https://api.github.com/repos/hashicorp/vagrant/issues/6787","id":428180774,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE4MDc3NA==","user":{"login":"axd1967","id":3529789,"node_id":"MDQ6VXNlcjM1Mjk3ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/3529789?v=4","gravatar_id":"","url":"https://api.github.com/users/axd1967","html_url":"https://github.com/axd1967","followers_url":"https://api.github.com/users/axd1967/followers","following_url":"https://api.github.com/users/axd1967/following{/other_user}","gists_url":"https://api.github.com/users/axd1967/gists{/gist_id}","starred_url":"https://api.github.com/users/axd1967/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axd1967/subscriptions","organizations_url":"https://api.github.com/users/axd1967/orgs","repos_url":"https://api.github.com/users/axd1967/repos","events_url":"https://api.github.com/users/axd1967/events{/privacy}","received_events_url":"https://api.github.com/users/axd1967/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T12:55:48Z","updated_at":"2018-10-09T12:55:48Z","author_association":"NONE","body":"**I am experiencing this issue with 1.8.1**.\r\n"}}
{"actor":{"display_login":"axd1967"}}