Skip to content

Commit

Permalink
Remove unused osbuilder flags
Browse files Browse the repository at this point in the history
fixes kairos-io/kairos#2212

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed May 22, 2024
1 parent 4dc3152 commit 4d892ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/Architecture/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ $ docker run -ti --name custom-container {{< oci variant="core" >}}
$ docker commit custom-container custom-image
> sha256:37176f104a870480f9c3c318ab51f6c456571b6612b6a47b96af71b95a0a27c7
# Builds an ISO from it
$ docker run -v $PWD:/cOS -v /var/run/docker.sock:/var/run/docker.sock -i --rm quay.io/kairos/osbuilder-tools:v0.1.1 --name "custom-iso" --debug build-iso --date=false --local custom-image --output /cOS/
$ docker run -v $PWD:/cOS -v /var/run/docker.sock:/var/run/docker.sock -i --rm quay.io/kairos/osbuilder-tools:v0.1.1 --name "custom-iso" --debug build-iso --date=false custom-image --output /cOS/
> ...
> ...
> xorriso : UPDATE : Writing: 147456s 84.0% fifo 100% buf 50% 60.5xD
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/Installation/automated.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $ docker pull $IMAGE
# docker run --entrypoint /bin/bash --name changes -ti $IMAGE
# docker commit changes $IMAGE
# Build an ISO with $IMAGE
$ docker run -v $PWD:/cOS -v /var/run/docker.sock:/var/run/docker.sock -i --rm quay.io/kairos/osbuilder-tools:latest --name "custom-iso" --debug build-iso --date=false --local --overlay-iso /cOS/files-iso $IMAGE --output /cOS/
$ docker run -v $PWD:/cOS -v /var/run/docker.sock:/var/run/docker.sock -i --rm quay.io/kairos/osbuilder-tools:latest --name "custom-iso" --debug build-iso --date=false --overlay-iso /cOS/files-iso $IMAGE --output /cOS/
```
{{% /tab %}}
{{< /tabpane >}}
Expand Down
2 changes: 0 additions & 2 deletions content/en/docs/Installation/raspberry.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ docker run -v $PWD:/HERE \
-v /var/run/docker.sock:/var/run/docker.sock \
--privileged -i --rm \
--entrypoint=/build-arm-image.sh {{< registryURL >}}/osbuilder-tools:{{< osbuilderVersion >}} \
--use-lvm \
--model rpi4 \
--state-partition-size 6200 \
--recovery-partition-size 4200 \
--size 15200 \
--images-size 2000 \
--local \
--config /HERE/cloud-config.yaml \
--docker-image $IMAGE /HERE/build/out.img
```

0 comments on commit 4d892ab

Please sign in to comment.