From bbefe024e57998c0fe4a250e4b86c21ba054120b Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Thu, 18 Feb 2016 11:31:59 +0100 Subject: [PATCH] add vm-user option this needs latest obs-build to work --- osc/build.py | 2 ++ osc/conf.py | 1 + 2 files changed, 3 insertions(+) diff --git a/osc/build.py b/osc/build.py index 53ddcf49..395ad123 100644 --- a/osc/build.py +++ b/osc/build.py @@ -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: diff --git a/osc/conf.py b/osc/conf.py index f630849b..100259aa 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -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