From 6d54421c107e37c1c627f74f029b7b2b5fec718a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Nov 2023 07:16:32 +0200 Subject: [PATCH] 7 --- gen-cloud-init/user-data-debian | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen-cloud-init/user-data-debian b/gen-cloud-init/user-data-debian index 7d89d7e..f0b63aa 100644 --- a/gen-cloud-init/user-data-debian +++ b/gen-cloud-init/user-data-debian @@ -11,6 +11,7 @@ packages: - htop - tmux - wget +- hyperv-daemons # replace with your own public key (e.g. ~/.ssh/id_rsa.pub) ssh_authorized_keys: @@ -26,6 +27,7 @@ users: - ###SSH_KEY_2### - ###SSH_KEY_3### runcmd: + - [ "/usr/bin/sed" , "-i" , "-e" , "\"s@ dns@@g\"" , "-e" , "\"s@ resolve @ dns reslove @g\"" , "/etc/nsswitch.conf" ] - [ "/usr/bin/wget" , "https://raw.githubusercontent.com/elico/ispmail-project/master/debian-bullseye-il-sources.list" , "-O" , "/etc/apt/sources.list.debian-11.in" ] final_message: "The system is finally up, after $UPTIME seconds"