From cfde9dac1b880222f0621cbf27ccda6dcf99fa16 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Thu, 19 Sep 2024 06:36:46 +0300 Subject: [PATCH] Added kvm binary symlink --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fca3203..0d3fa20 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ install-gns3-deps: install-gns3: install-gns3-deps get-busy-box-static install-docker create-gns3-user build-gns3-server build-gns3-gui build-gns3-vpcs build-gns3-dynamips build-gns3-ubridge + ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-kvm;true chown gns3:gns3 /home/gns3/ -R systemctl daemon-reload systemctl enable gns3.service @@ -40,7 +41,7 @@ build-gns3-server: cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.49 python3 -m pip install --upgrade pip cd gns3-server && pip3 install -r requirements.txt && python3 setup.py install - ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm;true + ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-kvm;true cd gns3-server/init && cp gns3.service.systemd /etc/systemd/system/gns3.service chown root:root /etc/systemd/system/gns3.service sed -i -e "s@^ExecStart=.*@ExecStart=/usr/local/bin/gns3server@g" /etc/systemd/system/gns3.service