This commit is contained in:
Philippe Caseiro 2023-01-04 10:15:51 +01:00
parent aaf4c4bdce
commit bf76f1033b
2 changed files with 7 additions and 1 deletions

View File

@ -42,7 +42,7 @@ EOF
content = "${jsonencode(local.Kubernetes)}"
}
// Copy habor OpenRC init script to the image
// Copy Sharemetrics script
provisioner "file" {
destination = "/etc/local.d/sharemetrics.start"
source = "${local.locations.provisionning}/conf/${build.name}/sharemetrics.start"

View File

@ -42,6 +42,12 @@ EOF
content = "${jsonencode(local.MatchBox)}"
}
// Copy matchbox boot provisionning script
provisioner "file" {
destination = "/etc/local.d/initmatchbox.start"
source = "${local.locations.provisionning}/conf/${build.name}/initmatchkbox.start"
}
// Generate default configuration for kubernetes
provisioner "shell" {
max_retries = 3