travis: Use xvfb to run packer

This may help with SSH timeouts - apparently something is wrong when
Virtualbox starts without an X session, so the internal X session fails.
This commit is contained in:
Alexey Rogachevskiy
2020-08-04 13:23:01 +03:00
parent 9c7e1926aa
commit de5ea26b6c
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
"format": "ova",
"guest_additions_mode": "disable",
"headless": "true",
"headless": "false",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "6144", "--vram", "128", "--mouse", "usbtablet", "--rtcuseutc", "on", "--nictype1", "virtio"],
@@ -73,4 +73,4 @@
"source": "{{user `assetsDir`}}/vscode/",
"destination": "/home/{{user `user`}}/.config/Code/User/"
}]
}
}