mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
virtinst: drop parameter guest in convert_old_networks
We do not use this paramter any more since commit:
46d3e0041a
.
So drop it.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
a8dd7bd213
commit
c23de0b181
@ -103,7 +103,7 @@ def main(conn=None):
|
||||
guest.installer = installer
|
||||
|
||||
cli.convert_old_memory(options)
|
||||
cli.convert_old_networks(guest, options, image.domain.interface)
|
||||
cli.convert_old_networks(options, image.domain.interface)
|
||||
cli.convert_old_graphics(guest, options,
|
||||
default_override=bool(image.domain.graphics))
|
||||
cli.convert_old_cpuset(options)
|
||||
|
@ -440,7 +440,7 @@ def build_guest_instance(conn, options, parsermap):
|
||||
|
||||
cli.convert_old_memory(options)
|
||||
convert_old_sound(options)
|
||||
cli.convert_old_networks(guest, options, not options.nonetworks and 1 or 0)
|
||||
cli.convert_old_networks(options, not options.nonetworks and 1 or 0)
|
||||
cli.convert_old_graphics(guest, options)
|
||||
convert_old_disks(options)
|
||||
cli.convert_old_features(options)
|
||||
|
@ -352,7 +352,7 @@ def convert_old_cpuset(options):
|
||||
logging.debug("Generated compat cpuset: --vcpus %s", options.vcpus)
|
||||
|
||||
|
||||
def convert_old_networks(guest, options, number_of_default_nics):
|
||||
def convert_old_networks(options, number_of_default_nics):
|
||||
macs = util.listify(options.mac)
|
||||
networks = util.listify(options.network)
|
||||
bridges = util.listify(options.bridge)
|
||||
|
Loading…
Reference in New Issue
Block a user