~lutostag/ubuntu/utopic/maas/1.5.2

« back to all changes in this revision

Viewing changes to src/maasserver/preseed.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-04-09 19:02:00 UTC
  • mfrom: (1.2.30)
  • Revision ID: package-import@ubuntu.com-20140409190200-jhcri0irlnc5o8r9
Tags: 1.5+bzr2252-0ubuntu1
* New upstream release
  - Add support to install Third Party Drivers. In order for this to be
    used the user will have to go to the Settings page to enable the
    installation of these drivers. (LP: #1305839)
  - Use release images instead of daily. (LP: #1306701)
  - Quote interface name in dhcpd.template, otherwise DHCP server fails
    to start. (LP: #1306335)
  - Fix IntegrityError, when multiple processes are trying to register
    the same component. (LP: #1307415)
  - Add missing armhf commissioning template (LP: #1307780)
* debian/maas-region-controller-min.install: Install drivers.yaml.
* debian/maas-region-controller.postinst: No longer show the
  installation note by default. (LP: #1284652)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    DHCPLease,
47
47
    )
48
48
from maasserver.server_address import get_maas_facing_server_host
 
49
from maasserver.third_party_drivers import get_third_party_driver
49
50
from maasserver.utils import absolute_reverse
50
51
from metadataserver.commissioning.snippets import get_snippet_context
51
52
from metadataserver.models import NodeKey
395
396
        'metadata-node-by-id', args=['latest', node.system_id],
396
397
        base_url=node.nodegroup.maas_url)
397
398
    node_disable_pxe_data = urlencode({'op': 'netboot_off'})
 
399
    driver = get_third_party_driver(node)
398
400
    return {
 
401
        'third_party_drivers': (
 
402
            Config.objects.get_config('enable_third_party_drivers')),
 
403
        'driver': driver,
 
404
        'driver_package': driver.get('package', ''),
399
405
        'node': node,
400
406
        'preseed_data': compose_preseed(node),
401
407
        'node_disable_pxe_url': node_disable_pxe_url,