mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
fixed typo
This commit is contained in:
parent
7689b7841f
commit
3b0336bd7e
@ -308,10 +308,10 @@ NEEDRESTART_MODE=a apt-get install -y python3-pip
|
|||||||
NEEDRESTART_MODE=a pip install --no-input --upgrade pip
|
NEEDRESTART_MODE=a pip install --no-input --upgrade pip
|
||||||
NEEDRESTART_MODE=a pip install --no-input pythondialog
|
NEEDRESTART_MODE=a pip install --no-input pythondialog
|
||||||
|
|
||||||
curl https://raw.githubusercontent.com/Xatrekak/gns3-server/remote_install_changes/scripts/welcome.py > /usr/local/bin/welcome.sh
|
curl https://raw.githubusercontent.com/Xatrekak/gns3-server/remote_install_changes/scripts/welcome.py > /usr/local/bin/welcome.py
|
||||||
|
|
||||||
chmod 755 /usr/local/bin/welcome.sh
|
chmod 755 /usr/local/bin/welcome.py
|
||||||
chown gns3:gns3 /usr/local/bin/welcome.sh
|
chown gns3:gns3 /usr/local/bin/welcome.py
|
||||||
|
|
||||||
mkdir /etc/systemd/system/getty@tty1.service.d
|
mkdir /etc/systemd/system/getty@tty1.service.d
|
||||||
cat <<EOFI > /etc/systemd/system/getty@tty1.service.d/override.conf
|
cat <<EOFI > /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
@ -323,7 +323,7 @@ EOFI
|
|||||||
chmod 755 /etc/systemd/system/getty@tty1.service.d/override.conf
|
chmod 755 /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
chown root:root /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.sh" >> /opt/gns3/.bashrc
|
echo "python3 /usr/local/bin/welcome.py" >> /opt/gns3/.bashrc
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user