From 81f9c409e10bdb222c963375f2e510e3084c871c Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Tue, 28 Nov 2023 19:29:52 +0100 Subject: [PATCH] README: update instructions and example - The imgref is now a positional argument. - The config option requires two dashes. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9950380c..60a81534 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A simpler container for deploying bootable container images. ``` mkdir output -sudo podman run --rm -it --privileged --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/osbuild-deploy-container -imageref quay.io/centos-boot/fedora-tier-1:eln +sudo podman run --rm -it --privileged --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/osbuild-deploy-container quay.io/centos-boot/fedora-tier-1:eln qemu-system-x86_64 -M accel=kvm -cpu host -smp 2 -m 4096 -bios /usr/share/OVMF/OVMF_CODE.fd -snapshot output/qcow2/disk.qcow2 ``` @@ -40,5 +40,5 @@ Example of such a config: Save this config as `output/config.json` and run: ``` -sudo podman run --rm -it --privileged --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/osbuild-deploy-container -imageref quay.io/centos-boot/fedora-tier-1:eln -config /output/config.json +sudo podman run --rm -it --privileged --security-opt label=type:unconfined_t -v $(pwd)/output:/output ghcr.io/osbuild/osbuild-deploy-container quay.io/centos-boot/fedora-tier-1:eln --config /output/config.json ```