updated url to new git location
This commit is contained in:
parent
459ec16113
commit
198590fddd
@ -2,7 +2,7 @@
|
|||||||
## Build v0.1
|
## Build v0.1
|
||||||
## By Marcel Stangenberger
|
## By Marcel Stangenberger
|
||||||
|
|
||||||
REPO=https://git.xoservice.nl/marcel/deploy
|
REPO=https://git.xo.nl/marcel/deploy
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
NOCOL='\033[0m'
|
NOCOL='\033[0m'
|
||||||
|
@ -4,5 +4,5 @@ pacman --noconfirm -S docker docker-compose ducker
|
|||||||
usermod -a -G docker sysadmin
|
usermod -a -G docker sysadmin
|
||||||
mkdir -p /opt/docker
|
mkdir -p /opt/docker
|
||||||
mkdir -p /etc/docker
|
mkdir -p /etc/docker
|
||||||
curl -s -o /etc/docker/daemon.json https://git.xoservice.nl/marcel/deploy/raw/master/docker/daemon.json
|
curl -s -o /etc/docker/daemon.json https://git.xo.nl/marcel/deploy/raw/master/docker/daemon.json
|
||||||
systemctl enable docker
|
systemctl enable docker
|
@ -5,5 +5,5 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R sysadmin:admins /opt/build
|
chown -R sysadmin:admins /opt/build
|
||||||
su sysadmin -c "git clone https://git.xoservice.nl/marcel/aur_kopia.git /opt/build/kopia"
|
su sysadmin -c "git clone https://git.xo.nl/marcel/aur_kopia.git /opt/build/kopia"
|
||||||
su sysadmin -c "cd /opt/build/kopia && makepkg --noconfirm -si"
|
su sysadmin -c "cd /opt/build/kopia && makepkg --noconfirm -si"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
echo "Creating a backup of the current deployment script"
|
echo "Creating a backup of the current deployment script"
|
||||||
cp -f /usr/local/bin/deploy /usr/local/bin/deploy.bck
|
cp -f /usr/local/bin/deploy /usr/local/bin/deploy.bck
|
||||||
echo "Updating XO deployment script"
|
echo "Updating XO deployment script"
|
||||||
curl -s -o /usr/local/bin/deploy https://git.xoservice.nl/marcel/deploy/raw/master/deploy.sh
|
curl -s -o /usr/local/bin/deploy https://git.xo.nl/marcel/deploy/raw/master/deploy.sh
|
||||||
chown root:root /usr/local/bin/deploy
|
chown root:root /usr/local/bin/deploy
|
||||||
chmod ug+x /usr/local/bin/deploy
|
chmod ug+x /usr/local/bin/deploy
|
||||||
echo "All done"
|
echo "All done"
|
@ -8,8 +8,8 @@ fi
|
|||||||
chown -R sysadmin:admins /opt/build
|
chown -R sysadmin:admins /opt/build
|
||||||
|
|
||||||
# Build and install
|
# Build and install
|
||||||
su sysadmin -c "git clone https://git.xoservice.nl/marcel/aur_zfs-utils.git /opt/build/zfs-utils"
|
su sysadmin -c "git clone https://git.xo.nl/marcel/zfs-utils.git /opt/build/zfs-utils"
|
||||||
su sysadmin -c "git clone https://git.xoservice.nl/marcel/aur_openzfs.git /opt/build/openzfs"
|
su sysadmin -c "git clone https://git.xo.nl/marcel/zfs-linux.git /opt/build/openzfs"
|
||||||
|
|
||||||
BUILDVER=$(cat /opt/build/openzfs/PKGBUILD | grep _kernelver_full | cut -f 2 -d \")
|
BUILDVER=$(cat /opt/build/openzfs/PKGBUILD | grep _kernelver_full | cut -f 2 -d \")
|
||||||
KERNVER=$(uname -r)
|
KERNVER=$(uname -r)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user