summary refs log tree commit diff
path: root/tools/nm-in-vm
diff options
context:
space:
mode:
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" \