File tree Expand file tree Collapse file tree 5 files changed +2
-10
lines changed
ostree-ext/.github/workflows Expand file tree Collapse file tree 5 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ sudo podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" -f Containerf
11
11
mkdir -p ~ /.cache/bootc-dev/disks
12
12
rm -f ~ /.cache/bootc-dev/disks/lldb.raw
13
13
truncate -s 10G ~ /.cache/bootc-dev/disks/lldb.raw
14
- sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v /dev:/dev -v /var/lib/containers:/var/lib/containers -v ~ /.cache/bootc-dev/disks:/output -v /dev:/dev localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw
14
+ sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v ~ /.cache/bootc-dev/disks:/output -v /dev:/dev localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw
15
15
16
16
# create a new VM in libvirt
17
17
set +e
Original file line number Diff line number Diff line change 59
59
- name : Integration tests
60
60
run : |
61
61
set -xeuo pipefail
62
- sudo podman run --rm -ti --privileged -v /:/target -v /var/lib/containers:/var/lib/containers -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
62
+ sudo podman run --rm -ti --privileged -v /:/target -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
63
63
quay.io/centos-bootc/centos-bootc-dev:stream9 bootc install to-filesystem \
64
64
--karg=foo=bar --disable-selinux --replace=alongside /target
65
65
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ pub(crate) const BASE_ARGS: &[&str] = &[
16
16
"run" ,
17
17
"--rm" ,
18
18
"--privileged" ,
19
- "-v" ,
20
- "/dev:/dev" ,
21
- "-v" ,
22
- "/var/lib/containers:/var/lib/containers" ,
23
19
"--pid=host" ,
24
20
"--security-opt" ,
25
21
"label=disable" ,
Original file line number Diff line number Diff line change @@ -234,8 +234,6 @@ case "$TEST_CASE" in
234
234
--privileged \
235
235
--pid=host \
236
236
--security-opt label=type:unconfined_t \
237
- -v /var/lib/containers:/var/lib/containers \
238
- -v /dev:/dev \
239
237
-v .:/output \
240
238
" $TEST_IMAGE_URL " \
241
239
bootc install to-disk --filesystem " $ROOTFS " --generic-image --via-loopback /output/disk.raw
Original file line number Diff line number Diff line change 54
54
--privileged \
55
55
--tls-verify=false \
56
56
--pid=host \
57
- -v /dev:/dev \
58
57
-v /:/target \
59
- -v /var/lib/containers:/var/lib/containers \
60
58
--security-opt label=type:unconfined_t \
61
59
{{ test_image_url }} \
62
60
bootc install to-existing-root"
You can’t perform that action at this time.
0 commit comments