From 5d056feaf1afe3624429abdadc00e4748a488617 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 12 Mar 2025 10:01:35 +0100 Subject: [PATCH] Updated ogrepository files --- .../component-installer/provision_ogrepository.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/non_graf_installer/component-installer/provision_ogrepository.sh b/non_graf_installer/component-installer/provision_ogrepository.sh index 6f94c2f..53b7df0 100644 --- a/non_graf_installer/component-installer/provision_ogrepository.sh +++ b/non_graf_installer/component-installer/provision_ogrepository.sh @@ -44,7 +44,6 @@ add_user_ogrepository() { cat /tmp/oginstall/ssh-keys/opengnsys.pub >> $OGUSER_HOME/.ssh/authorized_keys chown -R $OGUSER:$OGUSER $OGUSER_HOME/.ssh chmod 0600 $OGUSER_HOME/.ssh/* - fi if [ ! -f /etc/sudoers.d/$OGUSER ]; then echo "User $OGUSER does not have sudo permissions, adding it" @@ -56,13 +55,13 @@ add_user_ogrepository() { create_directories() { mkdir -p $INSTALL_DIR - mkdir -p $INSTALL_DIR/images $INSTALL_DIR/images_trash/ $INSTALL_DIR/bin/ $INSTALL_DIR/etc/ $INSTALL_DIR/log/ $INSTALL_DIR/api/ + mkdir -p $INSTALL_DIR/images $INSTALL_DIR/images_trash/ $INSTALL_DIR/bin/ $INSTALL_DIR/etc/ $INSTALL_DIR/log/ $INSTALL_DIR/api/ $INSTALL_DIR/images_virtual chown -R $OGUSER:$OGUSER $INSTALL_DIR } install_dependencies() { apt update -y - apt install -y git python3 python3-pip python3-flask python3-paramiko python3-psutil python3-flasgger debian-archive-keyring samba gunicorn wakeonlan + apt install -y git python3 python3-pip python3-flask python3-paramiko python3-psutil python3-flasgger debian-archive-keyring samba gunicorn wakeonlan lzop partclone qemu-utils } install_ext_repo() { @@ -98,7 +97,6 @@ configure_samba() { systemctl restart smbd # Create default user ogrepository (echo $OGPASS; echo $OGPASS) | smbpasswd -s -a $OGUSER - } ## Main program