mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 22:30:11 +01:00
This is a tool for automatically configuring networking in a cloud environment. Currently it only supports IPv4 on EC2, but it's intended for extending to other cloud providers (Azure). See [1] and [2] for how to configure secondary IP addresses on EC2. This is what the tool currently aims to do (but in the future it might do more). [1] https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ubuntu-secondary-network-interface/ It is inspired by SuSE's cloud-netconfig ([1], [2]) and ec2-net-utils package on Amazon Linux ([3], [4]). [1] https://www.suse.com/c/multi-nic-cloud-netconfig-ec2-azure/ [2] https://github.com/SUSE-Enceladus/cloud-netconfig [3] https://github.com/aws/ec2-net-utils [4] https://github.com/lorengordon/ec2-net-utils.git It is also intended to work without configuration. The main point is that you boot an image with NetworkManager and nm-cloud-setup enabled, and it just works.
32 lines
534 B
Meson
32 lines
534 B
Meson
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
|
|
|
name = 'nm-online'
|
|
|
|
deps = [
|
|
libnm_dep,
|
|
libnm_nm_default_dep,
|
|
]
|
|
|
|
executable(
|
|
name,
|
|
name + '.c',
|
|
dependencies: deps,
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
install: true,
|
|
)
|
|
|
|
subdir('common')
|
|
|
|
if enable_nmcli
|
|
subdir('cli')
|
|
endif
|
|
|
|
if enable_nmtui
|
|
subdir('tui')
|
|
endif
|
|
|
|
if enable_nm_cloud_setup
|
|
subdir('cloud-setup')
|
|
endif
|