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
simplify networkmanager keyfile - nat mode still not supported at this point as it...
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
d312d50
..
bd7b7a0
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
@@
-522,18
+523,10
@@
type=ethernet
autoconnect-priority=-999
interface-name=${VIF_GUEST}
autoconnect-priority=-999
interface-name=${VIF_GUEST}
-[ethernet]
-
[ipv4]
address1=${GUEST_IP}/${MASKLEN},${GATEWAY}
dhcp-hostname=${GUEST_HOSTNAME}
method=auto
[ipv4]
address1=${GUEST_IP}/${MASKLEN},${GATEWAY}
dhcp-hostname=${GUEST_HOSTNAME}
method=auto
-
-[ipv6]
-addr-gen-mode=default
-method=auto
-
-[proxy]
EOF
}
EOF
}