github.com/rahart/packer@v0.12.2-0.20161229105310-282bb6ad370f/website/source/docs/builders/oneandone.html.md (about) 1 --- 2 description: | 3 The 1&1 builder is able to create images for 1&1 cloud. 4 layout: docs 5 page_title: 1&1 Builder 6 ... 7 8 # 1&1 Builder 9 10 Type: `oneandone` 11 12 The 1&1 Builder is able to create virtual machines for [1&1](https://www.1and1.com/). 13 14 ## Configuration Reference 15 16 There are many configuration options available for the builder. They are 17 segmented below into two categories: required and optional parameters. Within 18 each category, the available configuration keys are alphabetized. 19 20 In addition to the options listed here, a 21 [communicator](/docs/templates/communicator.html) can be configured for this 22 builder. 23 24 ### Required 25 26 - `source_image_name` (string) - 1&1 Server Appliance name of type `IMAGE`. 27 28 - `token` (string) - 1&1 REST API Token. This can be specified via environment variable `ONEANDONE_TOKEN` 29 30 ### Optional 31 32 - `data_center_name` - Name of virtual data center. Possible values "ES", "US", "GB", "DE". Default value "US" 33 34 - `disk_size` (string) - Amount of disk space for this image in GB. Defaults to "50" 35 36 - `image_password` (string) - Password for the server images. 37 38 - `image_name` (string) - Resulting image. If "image_name" is not provided Packer will generate it 39 40 - `retries` (int) - Number of retries Packer will make status requests while waiting for the build to complete. Default value "600". 41 42 - `url` (string) - Endpoint for the 1&1 REST API. Default URL "https://cloudpanel-api.1and1.com/v1" 43 44 45 ## Example 46 47 Here is a basic example: 48 49 ```json 50 { 51 "builders":[ 52 { 53 "type":"oneandone", 54 "disk_size":"50", 55 "image_name":"test5", 56 "source_image_name":"ubuntu1604-64min", 57 "ssh_username" :"root" 58 } 59 ] 60 } 61 ```