From e67b5dc849585e8064a5836341dae4d29d4ccda7 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Mon, 21 Jul 2025 16:13:07 +0200 Subject: [PATCH] URL fix --- post/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/post/run.sh b/post/run.sh index b3964be..5a039f1 100644 --- a/post/run.sh +++ b/post/run.sh @@ -13,7 +13,7 @@ useradd -g admins -m -r -c "System administrator" sysadmin echo "%admins ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/admins mkdir -p /home/sysadmin/.ssh chmod 700 /home/sysadmin/.ssh -curl -so /home/sysadmin/.ssh/authorized_keys $REPO/raw/master/post/ansible.pub +curl -so /home/sysadmin/.ssh/authorized_keys $REPO/raw/branch/master/post/ansible.pub chown -R sysadmin:admins /home/sysadmin/.ssh echo -e "${GREEN}Disable root user SSH access...${NOCOL}" @@ -21,8 +21,8 @@ sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config sed -i 's/PermitRootLogin without-password/PermitRootLogin no/' /etc/ssh/sshd_config echo -e "${GREEN}Configuring and enabling default firewall...${NOCOL}" -curl -so /etc/iptables/iptables.rules $REPO/raw/master/post/iptables.rules -curl -so /etc/iptables/ip6tables.rules $REPO/raw/master/post/ip6tables.rules +curl -so /etc/iptables/iptables.rules $REPO/raw/branch/master/post/iptables.rules +curl -so /etc/iptables/ip6tables.rules $REPO/raw/branch/master/post/ip6tables.rules systemctl enable iptables systemctl enable ip6tables @@ -36,7 +36,7 @@ echo "fastfetch" > /etc/profile.d/fastfetch.sh chmod +x /etc/profile.d/fastfetch.sh echo -e "${GREEN}Install deployment script...${NOCOL}" -curl -so /usr/local/bin/deploy https://git.xo.nl/marcel/deploy/raw/master/deploy.sh +curl -so /usr/local/bin/deploy https://git.xo.nl/marcel/deploy/raw/branch/master/deploy.sh chown root:root /usr/local/bin/deploy chmod ug+x /usr/local/bin/deploy