diff --git a/packer/freebsd-9.2-i386.json b/packer/freebsd-9.2-i386.json index b3e0e14e3..7a8ecbeb1 100644 --- a/packer/freebsd-9.2-i386.json +++ b/packer/freebsd-9.2-i386.json @@ -13,7 +13,7 @@ "scripts/freebsd/cleanup.sh", "scripts/common/minimize.sh" ], - "execute_command": "cat '{{.Path}}' | su -" + "execute_command": "export {{.Vars}} && cat {{.Path}} | su -m" } ], "builders": [