From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Tue, 22 Nov 2022 11:05:18 +0000 (+0100)
Subject: simplify networkmanager keyfile - nat mode still not supported at this point as it... 
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4af8251dd01cba42984d792fd6eb258e807bf46c;p=build.git

simplify networkmanager keyfile - nat mode still not supported at this point as it seems no longer useful
---

diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh
index d312d509..bd7b7a00 100755
--- a/lbuild-initvm.sh
+++ b/lbuild-initvm.sh
@@ -509,6 +509,7 @@ EOF
 function uuid() {
     python -c "import uuid; print(uuid.uuid1())"
 }
+# xxx this seems to be no longer needed ?
 function write_guest_networkmanager_natip() {
     cat << EOF
 EOF
@@ -522,18 +523,10 @@ type=ethernet
 autoconnect-priority=-999
 interface-name=${VIF_GUEST}
 
-[ethernet]
-
 [ipv4]
 address1=${GUEST_IP}/${MASKLEN},${GATEWAY}
 dhcp-hostname=${GUEST_HOSTNAME}
 method=auto
-
-[ipv6]
-addr-gen-mode=default
-method=auto
-
-[proxy]
 EOF
 }