Skip to content

Commit

Permalink
Azure WALinuxAgent #1151 solution
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavomcarmo committed Sep 17, 2018
1 parent f700935 commit 86aa1aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
{
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E sh '{{ .Path }}'",
"inline": [
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
"sudo -i",
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync",
"cd /etc; ln -s ../run/systemd/resolve/stub-resolv.conf resolv.conf"
],
"inline_shebang": "/bin/sh -x",
"type": "shell"
Expand Down

0 comments on commit 86aa1aa

Please sign in to comment.