diff --git a/data/QuickAndDirty/ubuntu-20.04/user-data b/data/QuickAndDirty/ubuntu-20.04/user-data index 627b672..c42ec1d 100644 --- a/data/QuickAndDirty/ubuntu-20.04/user-data +++ b/data/QuickAndDirty/ubuntu-20.04/user-data @@ -51,9 +51,9 @@ autoinstall: late-commands: - echo 'firstuser ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/firstuser - - sed -i 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' /target/etc/dhcp/dhclient.conf -# - 'sed -i "s/dhcp4: true/&\n dhcp-identifier: mac/" /target/etc/netplan/00-installer-config.yaml' - - rm -fv /var/lib/dhcp/* +# - sed -i 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' /target/etc/dhcp/dhclient.conf +## - 'sed -i "s/dhcp4: true/&\n dhcp-identifier: mac/" /target/etc/netplan/00-installer-config.yaml' +# - rm -fv /var/lib/dhcp/* # - systemctl restart networking # - curtin in-target --target=/target -- apt-get update # - curtin in-target --target=/target -- apt-get install -y qemu-guest-agent