aboutsummaryrefslogtreecommitdiff
path: root/templates/bootcblade-deploy.sh.j2
blob: 9a3962b942d88e6c191fcb7823f74f79736a2790 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
podman run --rm --privileged \
        --pid=host --security-opt label=type:unconfined_t \
        --volume /dev:/dev \
        --volume /var/lib/containers:/var/lib/containers \
        --volume /:/target \
        --entrypoint bootc \
        localhost/bootcblade:latest \
        install to-filesystem --skip-fetch-check --replace=alongside /target \
	--root-ssh-authorized-keys /target/root/.ssh/authorized_keys \
        --target-transport=containers-storage --acknowledge-destructive