git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix nm configuration to be truly static
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
d312d50
..
41ff57c
100755
(executable)
--- a/
lbuild-initvm.sh
+++ b/
lbuild-initvm.sh
@@
-509,6
+509,7
@@
EOF
function uuid() {
python -c "import uuid; print(uuid.uuid1())"
}
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
function write_guest_networkmanager_natip() {
cat << EOF
EOF
@@
-520,20
+521,13
@@
id=Wired connection 1
uuid=$(uuid)
type=ethernet
autoconnect-priority=-999
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}
[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
}
EOF
}