mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
add vm-user option
this needs latest obs-build to work
This commit is contained in:
parent
d4336dc19a
commit
bbefe024e5
@ -1043,6 +1043,8 @@ def main(apiurl, opts, argv):
|
||||
vm_options += [ '--vmdisk-swapsize=' + config['build-vmdisk-swapsize'] ]
|
||||
if config['build-vmdisk-filesystem']:
|
||||
vm_options += [ '--vmdisk-filesystem=' + config['build-vmdisk-filesystem'] ]
|
||||
if config['build-vm-user']:
|
||||
vm_options += [ '--vm-user=' + config['build-vm-user'] ]
|
||||
|
||||
|
||||
if opts.preload:
|
||||
|
@ -113,6 +113,7 @@ DEFAULTS = {'apiurl': 'https://api.opensuse.org',
|
||||
'build-vmdisk-rootsize': '', # optional for VM builds
|
||||
'build-vmdisk-swapsize': '', # optional for VM builds
|
||||
'build-vmdisk-filesystem': '', # optional for VM builds
|
||||
'build-vm-user': '', # optional for VM builds
|
||||
'build-kernel': '', # optional for VM builds
|
||||
'build-initrd': '', # optional for VM builds
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user