Skip to content

Commit

Permalink
travis: Use xvfb to run packer
Browse files Browse the repository at this point in the history
This may help with SSH timeouts - apparently something is wrong when
Virtualbox starts without an X session, so the internal X session fails.
  • Loading branch information
sfalexrog committed Aug 4, 2020
1 parent 9c7e192 commit de5ea26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ before_install:
usermod -aG vboxusers $(whoami)
- mkdir output-virtualbox-iso && pushd output-virtualbox-iso && wget --progress=dot:giga https://github.com/sfalexrog/clever_vm/releases/download/v0.1_base_vm/clover-devel.ova
&& popd
- sudo apt install -y xvfb
script:
- "./build.sh"
- "xvfb-run ./build.sh"
deploy:
provider: s3
access_key_id: XOJXX4IOM66XN7VZAFYX
Expand Down
4 changes: 2 additions & 2 deletions ros_ide_vm.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -73,4 +73,4 @@
"source": "{{user `assetsDir`}}/vscode/",
"destination": "/home/{{user `user`}}/.config/Code/User/"
}]
}
}

0 comments on commit de5ea26

Please sign in to comment.