mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
50 lines
1,014 B
JSON
50 lines
1,014 B
JSON
{
|
|
"provider": "ec2",
|
|
"virtualization": "pvm",
|
|
"credentials": {
|
|
// "access-key": null,
|
|
// "secret-key": null
|
|
},
|
|
|
|
"bootstrapper": {
|
|
"workspace": "/target"
|
|
},
|
|
"image": {
|
|
"name": "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
|
"description": "Debian {release} {architecture} AMI ({virtualization})"
|
|
},
|
|
"system": {
|
|
"release": "wheezy",
|
|
"architecture": "i386",
|
|
"timezone": "UTC",
|
|
"locale": "en_US",
|
|
"charmap": "UTF-8"
|
|
},
|
|
"volume": {
|
|
"backing": "ebs",
|
|
"partitions": {
|
|
"type": "none",
|
|
"root": {
|
|
"size": 8192,
|
|
"filesystem": "ext4"
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"backports": {
|
|
"enabled": true,
|
|
"packages": [ "cloud-init" ]
|
|
},
|
|
"user_packages": {
|
|
"enabled": true,
|
|
"repo": [ "sudo" ],
|
|
"local": []
|
|
},
|
|
"sed": {
|
|
"enabled": true,
|
|
"file": "etc/cloud/cloud.cfg",
|
|
"find": "^ name: debian$",
|
|
"replace": " name: admin\n sudo: ALL=(ALL) NOPASSWD:ALL\n shell: /bin/bash"
|
|
}
|
|
}
|
|
}
|