diskimage-builder/elements/stable-interface-names/install.d/02-stable-interface-names

13 lines
254 B
Plaintext
Raw Normal View History

#!/bin/bash
set -eu
set -o pipefail
# remove softlink to /dev/null which disables these rules
NET_NAME_SLOT_FILE="/etc/udev/rules.d/80-net-name-slot.rules"
if [ -h $NET_NAME_SLOT_FILE ]; then
rm $NET_NAME_SLOT_FILE
fi
install-packages biosdevname