* remove timeout to get IP address, this is adding wrong information
and this is not reliable at all, purpose of the tool is to prepare
the system not to replace network manager
* remove simple option (add too much complexity in this basic tool)
* connection name on the Ethernet/wifi interface is using "-brslave"
appendix now
* Fix issue with master_interface check
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-bridge-setup?expand=0&rev=54
50 lines
1.5 KiB
RPMSpec
50 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package virt-bridge-setup
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: virt-bridge-setup
|
|
Version: 1.1
|
|
Release: 1%{?dist}
|
|
Summary: Script to setup virtual bridges
|
|
License: GPL-2.0-or-later
|
|
Group: System/Management
|
|
URL: https://github.com/aginies/virt-bridge-setup
|
|
Source0: https://github.com/aginies/virt-bridge-setup/archive/refs/tags/%{version}.tar.gz
|
|
BuildArch: noarch
|
|
Requires: NetworkManager
|
|
BuildRequires: make
|
|
|
|
%description
|
|
virt-bridge-setup is a script to automate the setup of virtual bridges using NetworkManager.
|
|
It simplifies the process of creating and managing network bridges for virtualization environments.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_sysconfdir}
|
|
%attr(0755,root,root) %{_sbindir}/%{name}
|
|
%attr(0644,root,root) %{_sysconfdir}/systemd/network/98-default-bridge.link
|
|
|
|
%changelog
|