From: Kristof Provost Date: Mon, 29 Apr 2024 21:49:34 +0000 (+0200) Subject: qemu: create igb interfaces X-Git-Url: https://git.sigsegv.be/?a=commitdiff_plain;h=eda1e2d93284a1dc645b82731c1e62fb26aeb9ce;p=pennestraat-domotica qemu: create igb interfaces Bring us a little closer to the real hardware, which makes the configuration for qemu and apu boards basically identical. --- diff --git a/ansible/roles/router/tasks/main.yaml b/ansible/roles/router/tasks/main.yaml index 599fd5d..02c6366 100644 --- a/ansible/roles/router/tasks/main.yaml +++ b/ansible/roles/router/tasks/main.yaml @@ -1,6 +1,6 @@ - name: set subnet community.general.sysrc: - name: ifconfig_vr0 + name: ifconfig_igb1 value: "{{ lan_ip }} up" become: true - name: gateway enable diff --git a/image/README.txt b/image/README.txt index 0f480ee..17f9868 100644 --- a/image/README.txt +++ b/image/README.txt @@ -4,7 +4,7 @@ Pennestraat properties. Notes ===== Run in qemu: -sudo qemu-system-x86_64 -m 4096m -hda /usr/local/poudriere/data/images/pennestraat.img -nographic -net nic -net tap,ifname=tap1 +sudo qemu-system-x86_64 -smp 4 -m 4096m -hda /usr/local/poudriere/data/images/domotica.img -nographic -net nic,model=igb -net tap,ifname=tap1 -net nic,model=igb -net tap,ifname=tap2 Jail creation: (Needs the kernel installed!)