Qemu Custom Options Returns to Default

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
fcolak
Posts: 1
Joined: Tue Apr 02, 2019 1:59 pm

Qemu Custom Options Returns to Default

Post by fcolak » Tue Apr 02, 2019 5:33 pm

Hi all,

Using baremetal installation with eve-ng version below;

================
---------------Packages Installed----------------
ii eve-ng 2.0.3-95
ii eve-ng-dynamips 2.0.2-2
ii eve-ng-guacamole 2.0.3-87
ii eve-ng-qemu 2.0.4-34
ii eve-ng-schema 2.0.4-71
ii eve-ng-vpcs 1.0-eve-ng
ii linux-headers-4.9.40-eve-ng-ukms+ 4.9.40-eve-ng-ukms-brctl
ii linux-image-4.9.40-eve-ng-ukms-2+ 4.9.40-eve-ng-ukms-2-brctl
===============
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Model name: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
Linux eve-ng 4.9.40-eve-ng-ukms-2+ #4 SMP Fri Sep 15 02:07:02 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux
==============

I'm trying to set qemu custom options by default in template file at "/opt/unetlab/html/templates/timos.yml" directory. When I first select it via GUI, I can see my options but when I save it and close it, even without starting it if I edit, it goes back to default settings( -machine type=pc,accel=kvm -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc). How can I make this persistent? This is the edited file;

=============================
type: qemu
name: 7750SR
cpulimit: 1
icon: SROS.png
cpu: 2
ram: 4096
ethernet: 6
console: telnet
qemu_arch: x86_64
qemu_nic: virtio-net-pci
qemu_options: -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc
-no-shutdown -boot order=c -cpu host
management_address: 1.1.1.2/24
...
=============================

Thanks,
Fatih

Post Reply