about summary refs log tree commit diff
path: root/tools/nm-in-vm
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2026-07-03 19:53:23 +0200
committerMichael Biebl <biebl@debian.org>2026-07-03 19:53:23 +0200
commitaa308069bebf2d5a3200728caa69a76137c03d8b (patch)
treec0ba2281e801c4720a0d8a5e5ee943688234f088 /tools/nm-in-vm
parent0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff)
parent537bfce2bda471c92caabd388589230200891509 (diff)
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1'
with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
Diffstat (limited to 'tools/nm-in-vm')
-rwxr-xr-xtools/nm-in-vm5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/nm-in-vm b/tools/nm-in-vm
index cf42b038..ce72859d 100755
--- a/tools/nm-in-vm
+++ b/tools/nm-in-vm
@@ -124,7 +124,6 @@ do_build() {
         "home-gdb_history:/root/.gdb_history"
         "home-behaverc:/root/.behaverc"
         "systemd-10-host-net.link:/etc/systemd/network/10-host-net.link"
-        "systemd-dhcp-host.service:/etc/systemd/system/dhcp-host.service"
         "systemd-20-nm.override:/etc/systemd/system/NetworkManager.service.d/20-nm.override"
     )
 
@@ -286,9 +285,7 @@ do_build() {
         --edit "/etc/systemd/journald.conf:s/.*RateLimitBurst=.*/RateLimitBurst=0/" \
         --delete "/etc/NetworkManager/system-connections/*" \
         --append-line "/etc/bashrc:. /etc/bashrc.my" \
-        --run-command "updatedb" \
-        --append-line "/etc/dhcp/dhclient.conf:send host-name = gethostname();" \
-        --firstboot-command "systemctl enable --now dhcp-host"
+        --run-command "updatedb"
 
     virt-install \
         --name "$VM" \