Override the hostname provided by the DHCP server (Closes: #7769).
[tails-test.git] / config / chroot_local-hooks / 80-block-network
blobf6b4dd0b32f16411555118b99a6a411c03093866
1 #!/bin/sh
3 set -e
5 echo "Generating blocklist for all network devices"
7 find /lib/modules/*/kernel/drivers/net \
8 -name "*.ko" -printf "blacklist %f\n" | \
9 sed 's/\.ko$//' | \
10 sort -u > /etc/modprobe.d/all-net-blacklist.conf