{
    "image_type": "ami",
    "hostname": "photon-machine",
    "password": 
        {
            "crypted": false,
            "text": "PASSWORD"
        },
    "packagelist_file": "packages_ami.json",
    "size": {"root": "8", "swap": "0"},
    "public_key":"<ssh-key-here>",
    "postinstallscripts": [ "ami-patch.sh", "../password-expiry.sh" ],
    "additionalfiles": [
                            {"cloud-photon.cfg": "/etc/cloud/cloud.cfg"}
                       ],
    "artifacttype": "tgz",
    "keeprawdisk": false
}