[Machine Type] = pc-i440fx

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
thekotaksampah
Posts: 2
Joined: Tue Jul 04, 2017 6:00 am

[Machine Type] = pc-i440fx

Post by thekotaksampah » Tue Oct 01, 2019 6:05 pm

Hi All,

I am going to deploy new equipment in eve. I use the template with qemu line :

Code: Select all

-machine type=pc,accel=kvm -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc
.

I check the image the output as following:

Code: Select all

root@achyarnurandidotidcom:/opt/unetlab/addons/qemu/nextos-1.0# qemu-img info hda.qcow2 
image: hda.qcow2
file format: qcow2
virtual size: 1.2G (1258291200 bytes)
disk size: 48M
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
And my new template as the following:

Code: Select all

root@achyarnurandidotidcom:/opt/unetlab/html/templates# cat nextos.yml 
# Copyright (c) 2016, Andrea Dainese
# Copyright (c) 2018, Alain Degreffe
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in the
#       documentation and/or other materials provided with the distribution.
#     * Neither the name of the UNetLab Ltd nor  the name of EVE-NG Ltd nor the
#       names of its contributors may be used to endorse or promote products
#       derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
type: qemu
name: NEXTOS
cpulimit: 1
icon: Server.png
cpu: 2
ram: 4096
ethernet: 10
console: telnet
qemu_arch: x86_64
qemu_options: -machine type=pc-i440fx-trusty,accel=kvm -serial mon:stdio -nographic -nodefconfig
  -nodefaults -rtc base=utc
management_address: 1.1.1.1/24
...
root@achyarnurandidotidcom:/opt/unetlab/html/templates#
But the os keeps rebooting. Once I check the xml fie. the machine using pc-i440fx. How to define the qemu line to achieve pc-i440fx. What qemu type have to use?


Thank you very much

Post Reply