~powersj/curtin/lxctest

« back to all changes in this revision

Viewing changes to tests/vmtests/__init__.py

curtin.net: emit source /etc/network/interfaces.d/*.cfg in eni

- Play nice with users and have eni source interfaces.d configurations.
- Fix up network unittests
  - Remove restriction in curtin's eni parser about iface redefinition;
    man (5) interfaces says this is allowed.
  - Update output of render_interfaces to account for source line
- Add vmtest to test user-defined network config in interfaces.d

Show diffs side-by-side

added added

removed removed

Lines of Context:
625
625
        return expected
626
626
 
627
627
    @classmethod
 
628
    def parse_deb_config(cls, path):
 
629
        return curtin_net.parse_deb_config(path)
 
630
 
 
631
    @classmethod
628
632
    def get_network_state(cls):
629
633
        return cls.network_state
630
634