Initial version for k8s from scratch with packer and vagrant.

This commit is contained in:
End of Line 2024-07-01 18:28:50 +02:00
commit eb6a3b5d37
7 changed files with 267 additions and 0 deletions

18
image/box.json Normal file
View file

@ -0,0 +1,18 @@
{
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"script": "scripts/setup.sh"
}
],
"builders": [
{
"communicator": "ssh",
"source_path": "debian/bullseye64",
"provider": "virtualbox",
"add_force": true,
"type": "vagrant"
}
]
}