Custom template interface naming is not working
Posted: Tue Sep 10, 2019 10:03 pm
Hi,
I have created a custom template below to add a new node type in eve-ng -
type: qemu
name: Clavister-cOS
cpulimit: 1
icon: Firewall.png
cpu: 1
ram: 512
ethernet: 4
eth_name:
- If1/Mgmt
eth_format: If{2}
console: telnet
qemu_arch: x86_64
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig
-nodefaults -display none -vga std -rtc base=utc
I will rename first interface as "If1/mgmt" which works fine. Then next interfaces will begin number from If2, If3, If4 so on.
But other interface names always starts from If0. It looks like whatever your do, the interface numbering always starts from zero (0).
Can anyone help me what I am doing wrong? Or is it a bug?
I have created a custom template below to add a new node type in eve-ng -
type: qemu
name: Clavister-cOS
cpulimit: 1
icon: Firewall.png
cpu: 1
ram: 512
ethernet: 4
eth_name:
- If1/Mgmt
eth_format: If{2}
console: telnet
qemu_arch: x86_64
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig
-nodefaults -display none -vga std -rtc base=utc
I will rename first interface as "If1/mgmt" which works fine. Then next interfaces will begin number from If2, If3, If4 so on.
But other interface names always starts from If0. It looks like whatever your do, the interface numbering always starts from zero (0).
Can anyone help me what I am doing wrong? Or is it a bug?