Imported scripts from private repository and enforced the naming convention

This commit is contained in:
Michele Cereda
2022-03-04 00:09:59 +01:00
parent a02453cc47
commit b2a057281c
29 changed files with 104 additions and 20 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
sudo zypper --non-interactive search --installed-only 'python??' \
| sed -e '1,/---/ d' -e 's/ | /,/g' \
| awk -F ',' '{print $2 "-netaddr"}' \
| xargs sudo zypper install --no-confirm ansible

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm \
boinc-client \
boinc-manager
sudo usermod --append --groups boinc mek
# stop computation when user active
xhost +SI:localuser:boinc
# virtualbox integration
command VBoxManage --version >/dev/null && sudo usermod --append --groups vboxusers boinc
# amdgpu integration
# https://en.opensuse.org/SDB:AMDGPU
# https://amdgpu-install.readthedocs.io/en/latest/install-installing.html
amdgpu-install --usecase=workstation --opencl=rocr

6
scripts/opensuse/git.setup.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
sudo zypper --non-interactive search --installed-only 'python??' \
| sed -e '1,/---/ d' -e 's/ | /,/g' \
| awk -F ',' '{print $2 "-pre-commit"}' \
| xargs sudo zypper install --no-confirm git-lfs

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm https://prerelease.keybase.io/keybase_amd64.rpm
systemctl --user enable --now keybase.service
systemctl --user enable --now kbfs.service

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env sh
# sources:
# - https://software.opensuse.org/download/package?package=keybase-client&project=openSUSE%3AFactory
# sudo zypper addrepo --refresh https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
sudo zypper --non-interactive install git-lfs
sudo zypper --non-interactive install keybase-client
keybase login mek

View File

@@ -10,5 +10,5 @@ sudo zypper addrepo --check --refresh --priority 90 https://ftp.gwdg.de/pub/linu
sudo zypper addrepo --check --refresh --priority 90 https://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/ mozilla
./chromium.sh
./keybase.sh
./chromium.install.sh
./keybase.install.sh

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
sudo zypper install --no-confirm virtualbox
sudo usermod --append --groups vboxusers $USER

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env sh
# source: https://en.opensuse.org/Visual_Studio_Code
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo --refresh https://packages.microsoft.com/yumrepos/vscode vscode
sudo zypper install --no-confirm code

View File

@@ -4,4 +4,6 @@
# - https://en.opensuse.org/OpenZFS
sudo zypper addrepo --refresh https://download.opensuse.org/repositories/filesystems/openSUSE_Tumbleweed/filesystems.repo
sudo zypper install zfs
sudo zypper install --no-confirm zfs
chsh --shell $(which zsh) ${USER}