Tidy up several things in build files (#3)

Change from QCow2 to Raw images
Update boot options for better outputs
Add SSH host key acceptance files
Change Ubuntu builder to Ubuntu 22
This commit is contained in:
Greg Hellings
2022-06-04 13:23:22 -05:00
committed by GitHub
parent 274b01f7f6
commit a552637428
11 changed files with 75 additions and 45 deletions
+10 -1
View File
@@ -1,9 +1,18 @@
build {
sources = ["source.qemu.x86_64"]
sources = [
"source.qemu.x86_64",
]
provisioner "ansible" {
playbook_file = "ansible/playbook.yml"
galaxy_file = "ansible/requirements.yml"
user = local.ssh.username
use_sftp = true
ansible_ssh_extra_args = [
"-o HostKeyAlgorithms=+ssh-rsa ",
"-o PubkeyAcceptedKeyTypes=+ssh-rsa ",
"-o IdentitiesOnly=yes"
]
}
provisioner "shell" {