Added initial-setup script file provisioner to all of the templates

This commit is contained in:
Gregory Ballantine 2024-04-23 10:54:08 -04:00
parent d8fea80ded
commit 2a1d0b520f
4 changed files with 20 additions and 0 deletions

View File

@ -60,4 +60,9 @@ build {
provisioner "shell" { provisioner "shell" {
script = "scripts/rhel-install.sh" script = "scripts/rhel-install.sh"
} }
provisioner "file" {
source = "scripts/initial-setup.sh"
destination = "/home/xadmin/initial-setup.sh"
}
} }

View File

@ -60,4 +60,9 @@ build {
provisioner "shell" { provisioner "shell" {
script = "scripts/debian-install.sh" script = "scripts/debian-install.sh"
} }
provisioner "file" {
source = "scripts/initial-setup.sh"
destination = "/home/xadmin/initial-setup.sh"
}
} }

View File

@ -56,4 +56,9 @@ build {
provisioner "shell" { provisioner "shell" {
script = "scripts/freebsd-install.sh" script = "scripts/freebsd-install.sh"
} }
provisioner "file" {
source = "scripts/initial-setup.sh"
destination = "/home/xadmin/initial-setup.sh"
}
} }

View File

@ -60,4 +60,9 @@ build {
provisioner "shell" { provisioner "shell" {
script = "scripts/rhel-install.sh" script = "scripts/rhel-install.sh"
} }
provisioner "file" {
source = "scripts/initial-setup.sh"
destination = "/home/xadmin/initial-setup.sh"
}
} }