config: Don't set up container registry
The server images don't include container tooling, so attempting to configure it is not going to work. In any case, this would be better handled either by patching the relevant packages or by documenting the necessary steps in the wiki. Note that, while toolbox really needs the configuration, podman works out of the box as long as the image you're trying to run comes with a riscv64 variant. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
6f8e719944
commit
b78cd9f5eb
15
config.sh
15
config.sh
@ -414,21 +414,6 @@ if [[ $installarch == "riscv64" ]]; then
|
||||
|
||||
# We most likely don't have HW random number generator
|
||||
systemctl enable haveged.service
|
||||
|
||||
# Setup toolbox container to use
|
||||
cat << EOF | tee -a /etc/containers/toolbox.conf
|
||||
image = "fedora.riscv.rocks:3000/davidlt/fedora-toolbox:41"
|
||||
EOF
|
||||
|
||||
# Add insecure (HTTP) Fedora/RISCV registry (Gitea)
|
||||
cat << EOF | tee -a /etc/containers/registries.conf
|
||||
[[registry]]
|
||||
location="fedora.riscv.rocks:3000"
|
||||
insecure=true
|
||||
EOF
|
||||
|
||||
# Add Fedora/RISCV registry for search
|
||||
sed -i -r 's/(unqualified-search-registries = \[")/\1fedora.riscv.rocks:3000", "/' /etc/containers/registries.conf
|
||||
fi # RISCVServer
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user