- fix whitespace issues with tab characters vs spaces

- fix invalid variable names in livemediacreator handler
- add parser for ostree pxe2live to cli
This commit is contained in:
Adam Miller 2015-10-16 11:10:23 -05:00 committed by Mike McLean
parent 41fa543e09
commit 44f02cd254
2 changed files with 11 additions and 8 deletions

View file

@ -5252,6 +5252,8 @@ def handle_spin_livemedia(options, session, args):
help=_("SCM URL to spec file fragment to use to generate wrapper RPMs"))
parser.add_option("--skip-tag", action="store_true",
help=_("Do not attempt to tag package"))
parser.add_option("--live-ostree-pxe", action="store_true",
help=_("Build a live pxe boot squashfs image of Atomic Host"))
(task_options, args) = parser.parse_args(args)
# LMC operations
@ -5636,7 +5638,8 @@ def _build_image(options, task_opts, session, args, img_type):
hub_opts = {}
for opt in ('isoname', 'ksurl', 'ksversion', 'scratch', 'repo',
'release', 'skip_tag', 'vmem', 'vcpu', 'format', 'specfile'):
'release', 'skip_tag', 'vmem', 'vcpu', 'format', 'specfile',
'live_ostree_pxe'):
val = getattr(task_opts, opt, None)
if val is not None:
hub_opts[opt] = val