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:18 +0200
committerMichael Biebl <biebl@debian.org>2026-07-03 19:53:18 +0200
commit537bfce2bda471c92caabd388589230200891509 (patch)
treeaedeccfaf0ba52c238ecf51fc009c0db5d4b60f0 /tools/nm-in-vm
parent869e9027026cdbb15d4e4a6327ff41d2697858eb (diff)
New upstream version 1.58~rc1 upstream/1.58_rc1
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" \