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:
+10
-1
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user