Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
769b4daf
Commit
769b4daf
authored
2 years ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
netcfg: restore handover connections to network-manager
parent
1bf2798d
No related branches found
Branches containing commit
No related tags found
1 merge request
!930
netcfg: restore handover connections to network-manager
Pipeline
#741
failed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/DATA/netcfg/restore_network-manager_management.patch
+18
-0
18 additions, 0 deletions
helpers/DATA/netcfg/restore_network-manager_management.patch
helpers/make-netcfg
+2
-1
2 additions, 1 deletion
helpers/make-netcfg
with
20 additions
and
1 deletion
helpers/DATA/netcfg/restore_network-manager_management.patch
0 → 100644
+
18
−
0
View file @
769b4daf
diff -ru netcfg-1.176+11.0trisquel1/finish-install.d/55netcfg-copy-config netcfg-1.142ubuntu8+10.0trisquel1/finish-install.d/55netcfg-copy-config
--- netcfg-1.176+11.0trisquel1/finish-install.d/55netcfg-copy-config 2018-08-10 14:23:07.000000000 -0500
+++ netcfg-1.142ubuntu8+10.0trisquel1/finish-install.d/55netcfg-copy-config 2017-05-16 23:21:18.000000000 -0500
@@ -59,6 +59,14 @@
mkdir -p /target/$FILE_PATH_NM_CONFIG
cp /$FILE_PATH_NM_CONFIG/* /target/$FILE_PATH_NM_CONFIG/
+ # Write netplan config file to hand over management to NM
+ cat <<EOF > /target/etc/netplan/01-network-manager-all.yaml
+# Let NetworkManager manage all devices on this system
+network:
+ version: 2
+ renderer: NetworkManager
+EOF
+
# Rewrite /etc/network/interfaces to contain only loopback
netcfg write_loopback
;;
This diff is collapsed.
Click to expand it.
helpers/make-netcfg
+
2
−
1
View file @
769b4daf
...
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
VERSION
=
2
EXTERNAL
=
'deb-src http://ftp.debian.org/debian stable main'
REPOKEY
=
648ACFD622F3D138
NETINST
=
true
...
...
@@ -25,6 +25,7 @@ NETINST=true
rpl
"Default: debian"
"Default: trisquel"
.
-R
sed
-i
'/client, template,/s/debian/trisquel/g'
netcfg-common.c
patch
-p1
<
$DATA
/restore_networ-manager_management.patch
changelog
"Rebranded and adapted for Trisquel"
compile
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment