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
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
}