@staticmethod
def configure(image, config, nic_name):
    cmdline = OSv.cmdline_template.format(ipv4_addr=config.ipv4_addr, extra_cmdline=(config.cmdline if config.cmdline else image.default_cmdline))
    set_cmdline(path.join(image.root, 'system.qemu'), cmdline)
    vmc = VMConfig(name=config.name, nic_name=nic_name, num_cpus=4, vdisk_path=path.join(image.root, 'system.qemu'), vdisk_format='qcow2', memory_size=1024000)
    return vmc
@staticmethod
def configure(image, config, nic_name):
    cmdline = OSv.cmdline_template.format(ipv4_addr=config.ipv4_addr, extra_cmdline=(config.cmdline if config.cmdline else image.default_cmdline))
    set_cmdline(path.join(image.root, 'system.qemu'), cmdline)
    vmc = VMConfig(name=config.name, nic_name=nic_name, num_cpus=4, vdisk_path=path.join(image.root, 'system.qemu'), vdisk_format='qcow2', memory_size=1024000)
    return vmc