{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/6175","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/6175/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/6175/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/6175/events","html_url":"https://github.com/hashicorp/packer/issues/6175","id":316808586,"number":6175,"title":"Powershell Provision hangsw forever when powershell on remote machine promprs for user input.","user":{"login":"AntonChernysh","id":15247661,"avatar_url":"https://avatars2.githubusercontent.com/u/15247661?v=4","gravatar_id":"","url":"https://api.github.com/users/AntonChernysh","html_url":"https://github.com/AntonChernysh","followers_url":"https://api.github.com/users/AntonChernysh/followers","following_url":"https://api.github.com/users/AntonChernysh/following{/other_user}","gists_url":"https://api.github.com/users/AntonChernysh/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonChernysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonChernysh/subscriptions","organizations_url":"https://api.github.com/users/AntonChernysh/orgs","repos_url":"https://api.github.com/users/AntonChernysh/repos","events_url":"https://api.github.com/users/AntonChernysh/events{/privacy}","received_events_url":"https://api.github.com/users/AntonChernysh/received_events","type":"User","site_admin":false},"labels":[{"id":240417513,"url":"https://api.github.com/repos/hashicorp/packer/labels/provisioner/powershell","name":"provisioner/powershell","color":"c7def8","default":false},{"id":327236664,"url":"https://api.github.com/repos/hashicorp/packer/labels/thinking","name":"thinking","color":"009800","default":false},{"id":33051543,"url":"https://api.github.com/repos/hashicorp/packer/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-23T13:17:47Z","updated_at":"2018-04-25T22:51:56Z","closed_at":"2018-04-24T16:25:21Z","author_association":"NONE","body":"Packer Windows PowerShell provisioner hangs forever when powershell on remote machine propmts for user input.\r\n- Packer v1.2.2\r\n- MacOS (Doesn't matter)\r\n- No debug, no logs, console hanging forever\r\n- Provisioner:\r\nhttps://gist.github.com/AntonChernysh/6964cca6c6c4ebe5bf37e3aae65e3b84"},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/384458495","html_url":"https://github.com/hashicorp/packer/issues/6175#issuecomment-384458495","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/6175","id":384458495,"user":{"login":"AntonChernysh","id":15247661,"avatar_url":"https://avatars2.githubusercontent.com/u/15247661?v=4","gravatar_id":"","url":"https://api.github.com/users/AntonChernysh","html_url":"https://github.com/AntonChernysh","followers_url":"https://api.github.com/users/AntonChernysh/followers","following_url":"https://api.github.com/users/AntonChernysh/following{/other_user}","gists_url":"https://api.github.com/users/AntonChernysh/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonChernysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonChernysh/subscriptions","organizations_url":"https://api.github.com/users/AntonChernysh/orgs","repos_url":"https://api.github.com/users/AntonChernysh/repos","events_url":"https://api.github.com/users/AntonChernysh/events{/privacy}","received_events_url":"https://api.github.com/users/AntonChernysh/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T22:51:56Z","updated_at":"2018-04-25T22:51:56Z","author_association":"NONE","body":"If we talk about execute_command here's single line command that works fine:\r\n\"Powershell -NonInteractive -executionpolicy bypass -command Set-Service\"\r\nIt throws an error and exist PS process."}}
{"actor":{"display_login":"AntonChernysh"}}