Skip to content

Commit 4975d44

Browse files
author
Ian Campbell
committed
use sudo, machine executor does not run as root
Signed-off-by: Ian Campbell <[email protected]>
1 parent e9d816f commit 4975d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,14 @@ image_boot: &image_boot
100100
- run:
101101
name: Install packages
102102
# ca-certificates are needed for attach_workspace (and git over https)
103-
command: apt-get update && apt-get install -y ca-certificates curl expect git make openssh-client procps qemu xorriso
103+
command: sudo apt-get update && sudo apt-get install -y ca-certificates curl expect git make openssh-client procps qemu xorriso
104104
- attach_workspace:
105105
at: /workspace
106106
- checkout
107107
- run:
108108
name: Test boot
109109
command: |
110+
ls -lrt /dev/kvm* || true
110111
# Add ssh keys to the image.
111112
# TODO could this be integrated into linuxkit/mkimage-iso-*
112113
# such that all those options do not need to be repeated

0 commit comments

Comments
 (0)