summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/systemd-networkd-ext
diff options
context:
space:
mode:
authorJonathan Bauer2017-09-22 13:29:46 +0200
committerJonathan Bauer2017-09-22 13:29:46 +0200
commit3dcd91540fd1341bd49373f0a3152ac72e051764 (patch)
tree812958a5a637403d434e45f7b4e9cd5571a24ded /builder/modules.d/systemd-networkd-ext
parent[dnbd3-rootfs] add systemd-networkd support (diff)
downloadsystemd-init-3dcd91540fd1341bd49373f0a3152ac72e051764.tar.gz
systemd-init-3dcd91540fd1341bd49373f0a3152ac72e051764.tar.xz
systemd-init-3dcd91540fd1341bd49373f0a3152ac72e051764.zip
fix fail...
Diffstat (limited to 'builder/modules.d/systemd-networkd-ext')
-rw-r--r--builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
index 0f9c698f..7f8c4246 100644
--- a/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
+++ b/builder/modules.d/systemd-networkd-ext/hooks/parse-kcl-for-networkd.sh
@@ -69,7 +69,7 @@ print_static_ip_conf() {
}
# Create udev rule to rename the PXE boot interface to BOOTIF_NAME
-create_bootif_udev_name_rule() {
+create_udev_bootif_name_rule() {
[ -z "${BOOTIF}" ] && echo "No BOOTIF set, was it present in the kernel command line?" && return 1
# priority 70 < 80-net-name-slot.rules.
echo 'SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="'${BOOTIF}'\
@@ -134,7 +134,7 @@ mask2cidr() {
parse_kernel_command_line
# Create the udev rule to rename the boot interface to the declared BOOTIF_NAME
-rename_boot_if
+create_udev_bootif_name_rule
# Generate config files for networkd
generate_networkd_config