qubes-installer-qubes-os/anaconda/dracut/anaconda-copy-dhclient.sh

8 lines
244 B
Bash
Raw Normal View History

#!/bin/sh
# Copy over dhclient config files to the anaconda environment
. /lib/anaconda-lib.sh
[ -d /etc/dhcp ] && copytree /etc/dhcp /run/initramfs/state/etc/dhcp/
[ -f /etc/dhclient.conf ] && cp /etc/dhclient.conf /run/initramfs/state/etc/