~lutostag/ubuntu/trusty/maas/1.5.4+keystone

« back to all changes in this revision

Viewing changes to src/provisioningserver/kernel_opts.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-03-04 11:49:44 UTC
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: package-import@ubuntu.com-20130304114944-azcvu9anlf8mizpa
Tags: upstream-1.3+bzr1452+dfsg
ImportĀ upstreamĀ versionĀ 1.3+bzr1452+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        "preseed_url",  # URL from which a preseed can be obtained.
38
38
        "log_host",  # Host/IP to which syslog can be streamed.
39
39
        "fs_host",  # Host/IP on which ephemeral filesystems are hosted.
 
40
        "extra_opts",  # String of extra options to supply, will be appended
 
41
                       # verbatim to the kernel command line
40
42
        ))
41
43
 
42
44
 
177
179
    #       as it would be nice to have.
178
180
    options += compose_logging_opts(params.log_host)
179
181
    options += compose_arch_opts(params)
 
182
    if params.extra_opts:
 
183
        options.append(params.extra_opts)
180
184
    return ' '.join(options)