File: 10-network

package info (click to toggle)
fai 6.5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,084 kB
  • sloc: sh: 6,774; perl: 5,665; makefile: 138
file content (11 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code

# Disable systemd's network interface name management.
# References:
#   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863385
#   https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

fcopy -M /etc/default/grub.d/10_cloud_disable_net.ifnames.cfg
$ROOTCMD update-grub