#!/bin/bash

#Go into the old_templates folder first; every other command will get run relative to this folder
cd old_templates/

#Debian 7.1
cd ./debian-7.1-amd64
packer build --only=virtualbox template.json

#Debian 7.2
cd ../debian-7.2-amd64
packer build --only=virtualbox template.json

#Debian 7.3
cd ../debian-7.3-amd64
packer build --only=virtualbox template.json

#Debian 7.4
cd ../debian-7.4-amd64
packer build --only=virtualbox-iso template.json

#Debian 7.5
cd ./debian-7.5-amd64
packer build --only=virtualbox-iso template.json

#CentOS 6.4
cd ../centos-6.4-amd64
packer build --only=virtualbox template.json

#Ubuntu 12.10
cd ../ubuntu-12.10-server-amd64
packer build --only=virtualbox template.json

#Ubuntu 13.04
cd ../ubuntu-13.04-server-amd64
packer build --only=virtualbox template.json

#Ubuntu 13.10
cd ../ubuntu-13.10-server-amd64
packer build --only=virtualbox-iso template.json

#!/bin/bash

#Go into the old_templates folder first; every other command will get run relative to this folder
cd old_templates/

#Debian 7.1
cd ./debian-7.1-amd64
packer build --only=virtualbox template.json

#Debian 7.2
cd ../debian-7.2-amd64
packer build --only=virtualbox template.json

#Debian 7.3
cd ../debian-7.3-amd64
packer build --only=virtualbox template.json

#Debian 7.4
cd ../debian-7.4-amd64
packer build --only=virtualbox-iso template.json

#Debian 7.5
cd ./debian-7.5-amd64
packer build --only=virtualbox-iso template.json

#Debian 7.6
cd ./debian-7.6-amd64
packer build --only=virtualbox-iso template.json

#CentOS 6.4
cd ../centos-6.4-amd64
packer build --only=virtualbox template.json

#Ubuntu 12.10
cd ../ubuntu-12.10-server-amd64
packer build --only=virtualbox template.json

#Ubuntu 13.04
cd ../ubuntu-13.04-server-amd64
packer build --only=virtualbox template.json

#Ubuntu 13.10
cd ../ubuntu-13.10-server-amd64
packer build --only=virtualbox-iso template.json

Add Debian 7.6 to the old VirtualBox build script.
Add Debian 7.6 to the old VirtualBox build script.
