This commit is contained in:
root 2024-03-13 17:48:41 +02:00
parent 2847dabdd6
commit 2bdf477e9a

View File

@ -33,7 +33,7 @@ install-gns3: install-gns3-deps check-deps-path install-busybox-static install-p
build-gns3-server:
git clone --depth 1 https://github.com/GNS3/gns3-server.git; true
cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.45
cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.46
python3 -m pip install --upgrade pip --break-system-packages
cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install
ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm;true
@ -63,7 +63,9 @@ build-gns3-ubridge:
cd ubridge && make && make install
upgrade-gns3-server:
git clone --depth 1 https://github.com/GNS3/gns3-server.git
git clone --depth 1 https://github.com/GNS3/gns3-server.git; true
cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.46
python3 -m pip install --upgrade pip --break-system-packages
systemctl stop gns3.service
cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install
systemctl start gns3.service