fix nm configuration to be truly static
[build.git] / lbuild-initvm.sh
index d312d50..41ff57c 100755 (executable)
@@ -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
@@ -520,20 +521,13 @@ id=Wired connection 1
 uuid=$(uuid)
 type=ethernet
 autoconnect-priority=-999
-interface-name=${VIF_GUEST}
-
-[ethernet]
+# setting this seems to be counter-productive
+# interface-name=${VIF_GUEST}
 
 [ipv4]
 address1=${GUEST_IP}/${MASKLEN},${GATEWAY}
-dhcp-hostname=${GUEST_HOSTNAME}
-method=auto
-
-[ipv6]
-addr-gen-mode=default
-method=auto
-
-[proxy]
+#dhcp-hostname=${GUEST_HOSTNAME}
+method=manual
 EOF
 }