1
0
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:
Bernhard M. Wiedemann 2016-02-18 11:31:59 +01:00
parent d4336dc19a
commit bbefe024e5
2 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -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