mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
Merge pull request #626 from cgwalters/tests-bind-dev
tree: Add missing -v /dev:/dev in a few places
This commit is contained in:
@@ -11,7 +11,7 @@ sudo podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" -f Containerf
|
||||
mkdir -p ~/.cache/bootc-dev/disks
|
||||
rm -f ~/.cache/bootc-dev/disks/lldb.raw
|
||||
truncate -s 10G ~/.cache/bootc-dev/disks/lldb.raw
|
||||
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -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
|
||||
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
|
||||
|
||||
# create a new VM in libvirt
|
||||
set +e
|
||||
|
||||
@@ -150,6 +150,7 @@ case "$IMAGE_TYPE" in
|
||||
--privileged \
|
||||
--pid=host \
|
||||
--security-opt label=type:unconfined_t \
|
||||
-v /dev:/dev \
|
||||
-v /var/lib/containers:/var/lib/containers \
|
||||
-v /dev:/dev \
|
||||
-v .:/output \
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
--rm \
|
||||
--privileged \
|
||||
--pid=host \
|
||||
-v /dev:/dev \
|
||||
-v /:/target \
|
||||
-v /var/lib/containers:/var/lib/containers \
|
||||
--security-opt label=type:unconfined_t \
|
||||
|
||||
Reference in New Issue
Block a user