diff --git a/packer/freebsd-9.2-amd64.json b/packer/freebsd-9.2-amd64.json index 8c6ae8766..e48f7ed55 100644 --- a/packer/freebsd-9.2-amd64.json +++ b/packer/freebsd-9.2-amd64.json @@ -14,7 +14,7 @@ "mdmfs -s 100m md1 /tmp", "mdmfs -s 100m md2 /mnt", "dhclient -l /tmp/dhclient.lease.em0 em0", - "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh \u0026\u0026 chmod +x /tmp/install.sh \u0026\u0026 /tmp/install.sh {{ .Name }}" + "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}" ], "boot_wait": "10s", "disk_size": 10140, @@ -63,7 +63,7 @@ "mdmfs -s 100m md2 /mnt", "dhclient -l /tmp/dhclient.lease.em0 em0", "", - "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh \u0026\u0026 chmod +x /tmp/install.sh \u0026\u0026 /tmp/install.sh {{ .Name }}" + "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}" ], "boot_wait": "10s", "disk_size": 10140, @@ -99,7 +99,7 @@ "environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ], - "execute_command": "export {{.Vars}} \u0026\u0026 cat {{.Path}} | su -m", + "execute_command": "export {{.Vars}} && cat {{.Path}} | su -m", "scripts": [ "scripts/freebsd/postinstall.sh", "scripts/freebsd/vmtools.sh", diff --git a/packer/freebsd-9.2-i386.json b/packer/freebsd-9.2-i386.json index 5b65ff4da..020be35ab 100644 --- a/packer/freebsd-9.2-i386.json +++ b/packer/freebsd-9.2-i386.json @@ -14,7 +14,7 @@ "mdmfs -s 100m md1 /tmp", "mdmfs -s 100m md2 /mnt", "dhclient -l /tmp/dhclient.lease.em0 em0", - "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh \u0026\u0026 chmod +x /tmp/install.sh \u0026\u0026 /tmp/install.sh {{ .Name }}" + "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}" ], "boot_wait": "10s", "disk_size": 10140, @@ -63,7 +63,7 @@ "mdmfs -s 100m md2 /mnt", "dhclient -l /tmp/dhclient.lease.em0 em0", "", - "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh \u0026\u0026 chmod +x /tmp/install.sh \u0026\u0026 /tmp/install.sh {{ .Name }}" + "fetch -o /tmp/install.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/freebsd-9.2/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh {{ .Name }}" ], "boot_wait": "10s", "disk_size": 10140, @@ -96,7 +96,7 @@ ], "provisioners": [ { - "execute_command": "export {{.Vars}} \u0026\u0026 cat {{.Path}} | su -m", + "execute_command": "export {{.Vars}} && cat {{.Path}} | su -m", "scripts": [ "scripts/freebsd/postinstall.sh", "scripts/freebsd/vmtools.sh",