This is needed for systemd-networkd dhcp client sending a unique id to the dhcp server. Fixes: #868679 --- helpers/vagrant-setup | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/helpers/vagrant-setup b/helpers/vagrant-setup index 05fb74f..3f14406 100755 --- a/helpers/vagrant-setup +++ b/helpers/vagrant-setup @@ -92,3 +92,8 @@ echo 'PasswordAuthentication no' >> $fs/etc/ssh/sshd_config ####################################################################### chroot $fs apt-get clean rm -f $fs/usr/sbin/policy-rc.d + +# make sure /etc/machine-id is generated on next book +# this need to be unique for systemd-dhcp client to work properly +rm $fs/var/lib/dbus/machine-id +> $fs/etc/machine-id -- 2.13.2