Skip to content

[Enhancement] Allow for custom network config YAML file #41

@zanewgray

Description

@zanewgray

For new VM deployments that require a more customized network configuration, could the provisioning script be modified to accept a flag like "-CustomNetAutoconfigYamlFile" so that the NetAutoconfig is not automatically generated?

Use case examples:

  • NGINX reverse proxy that requires multiple, static IP addresses on a single interface
  • Setting custom MTU for low-bandwidth remote sites or high bandwidth datacenters
  • Setting IPv6-only network configurations

Options tried: When attempting to use the "-CustomUserDataYamlFile" with a write_files section for editing /etc/netplan/50-cloud-init.yaml, I found that the script overwrites this with the data generated by the NetAutoconfig portion of the script.

There may already be a means of accomplishing the above through the use of one or more of the flags. If so, then this issue may simply be a request for documentation.

Thanks for your amazing work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions