Skip to content

Commit

Permalink
use sudo, machine executor does not run as root
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Campbell <[email protected]>
  • Loading branch information
Ian Campbell committed Jan 12, 2018
1 parent e9d816f commit 4975d44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ image_boot: &image_boot
- run:
name: Install packages
# ca-certificates are needed for attach_workspace (and git over https)
command: apt-get update && apt-get install -y ca-certificates curl expect git make openssh-client procps qemu xorriso
command: sudo apt-get update && sudo apt-get install -y ca-certificates curl expect git make openssh-client procps qemu xorriso
- attach_workspace:
at: /workspace
- checkout
- run:
name: Test boot
command: |
ls -lrt /dev/kvm* || true
# Add ssh keys to the image.
# TODO could this be integrated into linuxkit/mkimage-iso-*
# such that all those options do not need to be repeated
Expand Down

0 comments on commit 4975d44

Please sign in to comment.