Updated, added scripts

This commit is contained in:
2025-05-21 13:24:09 +02:00
parent ff3384b4d8
commit 535e7b0635
4 changed files with 20 additions and 0 deletions

4
alpine.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
cd /etc/apk/keys && curl -JO https://git.cloudyne.io/api/packages/linux/alpine/key && \
echo 'https://git.cloudyne.io/api/packages/linux/alpine/all/repository' >> /etc/apk/repositories && \
apk update

12
debian.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -ex && \
. /etc/os-release && \
sudo apt-get update && \
sudo apt-get -y install gnupg2 apt-transport-https curl && \
sudo curl https://pkg.cloudyne.io/debian/repository.key -o /etc/apt/trusted.gpg.d/cloudyne.asc && \
echo "deb https://pkg.cloudyne.io/debian all main" | sudo tee /etc/apt/sources.list.d/cloudyne.list && \
sudo apt-get update

2
rhel.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
dnf config-manager --add-repo https://git.cloudyne.io/api/packages/linux/rpm.repo

2
suse.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
zypper addrepo https://git.cloudyne.io/api/packages/linux/rpm.repo