No sudo
diff --git a/ubuntu-14.04/template.json b/ubuntu-14.04/template.json
index 9a9581a..4ac35fb 100644
--- a/ubuntu-14.04/template.json
+++ b/ubuntu-14.04/template.json
@@ -10,7 +10,7 @@
"provisioners": [
{
"type": "shell",
- "execute_command": "echo '{{user `user`}}' |sudo -S sh '{{.Path}}'",
+ "execute_command": "sh '{{.Path}}'",
"override": {
"virtualbox-iso": {
"scripts": [
@@ -132,7 +132,7 @@
"ssh_password": "{{user `password`}}",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
- "shutdown_command": "echo '{{user `password`}}'|sudo -S shutdown -P now",
+ "shutdown_command": "shutdown -P now",
"headless": true,
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "1024" ],
@@ -184,7 +184,7 @@
"ssh_password": "{{user `password`}}",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
- "shutdown_command": "echo '{{user `password`}}'|sudo -S shutdown -P now",
+ "shutdown_command": "shutdown -P now",
"vmx_data": {
"memsize": "1024",
"numvcpus": "1",
@@ -205,7 +205,7 @@
"headless": true,
"ssh_username": "{{user `user`}}",
"ssh_password": "{{user `password`}}",
- "shutdown_command": "echo '{{user `password`}}'|sudo -S shutdown -P now",
+ "shutdown_command": "shutdown -P now",
"boot_wait": "2s",
"ssh_wait_timeout": "10000s",
"boot_command": [