1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 02:08:10 +00:00

Finished gns3 user setup

This commit is contained in:
Xatrekak 2023-02-12 02:44:15 -05:00
parent ac042b02c4
commit fbe10360c2

View File

@ -325,7 +325,9 @@ chmod 755 /etc/systemd/system/getty@tty1.service.d/override.conf
chown root:root /etc/systemd/system/getty@tty1.service.d/override.conf
echo "python3 /usr/local/bin/welcome.py" >> /opt/gns3/.bashrc
echo "gns3" | passwd gns3 --stdin
usermod --shell /bin/bash gns3
usermod -aG sudo username
fi
@ -454,5 +456,6 @@ fi
if [ $WELCOME_SETUP == 1 ]
then
python3 -c 'import sys; sys.path.append("/usr/local/bin/"); import welcome; ws = welcome.Welcome_dialog(); ws.repair_remote_install()'
su gns3 & cd ~
cd /opt/gns3
su gns3
fi