2022-08-30 16:10:10 +02:00
|
|
|
{
|
|
|
|
"variables" : {
|
|
|
|
"id" : "",
|
|
|
|
"description" : "",
|
|
|
|
"name" : "",
|
|
|
|
},
|
|
|
|
"builders": [
|
|
|
|
{
|
2022-08-30 16:45:45 +02:00
|
|
|
"type": "lxd",
|
2022-08-30 16:10:10 +02:00
|
|
|
"name": "{{ user `name`}} ",
|
|
|
|
"image": "ubuntu:20.04",
|
|
|
|
"output_image": "{{ user `name` }}:{{user `id`}}",
|
|
|
|
"publish_properties": {
|
|
|
|
"description": "{{ user `description`}}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"provisioners": [
|
|
|
|
{
|
|
|
|
"type" : "shell",
|
|
|
|
"inline" : [
|
|
|
|
"/usr/bin/cloud-init status --wait",
|
|
|
|
"apt-get update",
|
|
|
|
"apt-get install -y python3-pip"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"post-processors": []
|
|
|
|
}
|