# Call a script to generate an /etc/network/interfaces file to DHCP all available interfaces # Then remove this config file so the script is never run again description "DHCP any connected, but unconfigured network interfaces" start on starting cloud-init-nonet task exec /usr/local/sbin/generate-interfaces-file.sh