~smoser/ubuntu/xenial/curtin/pkg

« back to all changes in this revision

Viewing changes to examples/tests/network_source_ipv6.yaml

  • Committer: Ryan Harper
  • Date: 2016-10-03 18:43:46 UTC
  • mfrom: (1.2.2)
  • Revision ID: ryan.harper@canonical.com-20161003184346-pvdgp51jhexx3zox
* New upstream snapshot.
  - unittest,tox.ini: catch and fix issue with trusty-level mock of open 
  - block/mdadm: add option to ignore mdadm_assemble errors  (LP: #1618429)
  - curtin/doc: overhaul curtin documentation for readthedocs.org  (LP: #1351085)
  - curtin.util: re-add support for RunInChroot  (LP: #1617375)
  - curtin/net: overhaul of eni rendering to handle mixed ipv4/ipv6 configs 
  - curtin.block: refactor clear_holders logic into block.clear_holders and cli cmd 
  - curtin.apply_net should exit non-zero upon exception.  (LP: #1615780)
  - apt: fix bug in disable_suites if sources.list line is blank. 
  - vmtests: disable Wily in vmtests 
  - Fix the unittests for test_apt_source. 
  - get CURTIN_VMTEST_PARALLEL shown correctly in jenkins-runner output 
  - fix vmtest check_file_strippedline to strip lines before comparing 
  - fix whitespace damage in tests/vmtests/__init__.py 
  - fix dpkg-reconfigure when debconf_selections was provided.  (LP: #1609614)
  - fix apt tests on non-intel arch 
  - Add apt features to curtin.  (LP: #1574113)
  - vmtest: easier use of parallel and controlling timeouts 
  - mkfs.vfat: add force flag for formating whole disks  (LP: #1597923)
  - block.mkfs: fix sectorsize flag  (LP: #1597522)
  - block_meta: cleanup use of sys_block_path and handle cciss knames  (LP: #1562249)
  - block.get_blockdev_sector_size: handle _lsblock multi result return  (LP: #1598310)
  - util: add target (chroot) support to subp, add target_path helper. 
  - block_meta: fallback to parted if blkid does not produce output  (LP: #1524031)
  - commands.block_wipe:  correct default wipe mode to 'superblock' 
  - tox.ini: run coverage normally rather than separately 
  - move uefi boot knowledge from launch and vmtest to xkvm 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
showtrace: true
 
2
network:
 
3
    version: 1
 
4
    config:
 
5
        # Physical interfaces.
 
6
        - type: physical
 
7
          name: interface0
 
8
          mac_address: "52:54:00:12:34:00"
 
9
          subnets:
 
10
              - type: static
 
11
                address: 2001:4800:78ff:1b:be76:4eff:fe06:96b3
 
12
                netmask: 'ffff:ffff:ffff:ffff::'
 
13
                routes:
 
14
                  - gateway: 2001:4800:78ff:1b::1
 
15
                    netmask: '::'
 
16
                    network: '::'
 
17
        - type: physical
 
18
          name: interface2
 
19
          mac_address: "52:54:00:12:34:04"
 
20
        - type: nameserver
 
21
          address:
 
22
            - 10.0.2.3
 
23
          search:
 
24
            - wark.maas
 
25
            - foobar.maas
 
26
 
 
27
curthooks_commands:
 
28
    # use curtin to inject a eni config file outside of the network yaml
 
29
    # this allows us to test user installed configurations outside of
 
30
    # curtin's control
 
31
    aa_cleanup: ['curtin', 'in-target', '--', 'sh', '-c', "rm -f /etc/network/interfaces.d/eth0.cfg; /bin/echo -e 'auto interface2\niface interface2 inet static\n address 192.168.23.23/24\n' > /etc/network/interfaces.d/interface2.cfg"]