forked from infra/ansible
copr-hypervisor: drop unused argument
This commit is contained in:
parent
8c5923e123
commit
7c02c4570f
1 changed files with 2 additions and 3 deletions
|
|
@ -247,7 +247,7 @@ ssh_authorized_keys:
|
|||
raise Exception("mkisofs failed")
|
||||
return image
|
||||
|
||||
def create_volume_from_iso(self, name, prealloc_size, iso, pool=DEFAULT_POOL):
|
||||
def create_volume_from_iso(self, name, iso, pool=DEFAULT_POOL):
|
||||
"""
|
||||
Create libvirt volume from ISO file
|
||||
"""
|
||||
|
|
@ -379,8 +379,7 @@ ssh_authorized_keys:
|
|||
if config_iso:
|
||||
self.log.info("using config image %s", config_iso)
|
||||
config_vol_name = self.vm_name + "_config"
|
||||
self.create_volume_from_iso(config_vol_name, '1M', config_iso,
|
||||
pool=pool)
|
||||
self.create_volume_from_iso(config_vol_name, config_iso, pool=pool)
|
||||
|
||||
root_image_volume = VOLUMES[self.arch]
|
||||
vol_root = self.vm_name + '_root'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue