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
build VMs have a nicer hostname (dates have dots in them that get interpreted as...
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
de78466
..
34c9115
100755
(executable)
--- a/
lbuild-initvm.sh
+++ b/
lbuild-initvm.sh
@@
-921,7
+921,7
@@
function main () {
if [ -n "$BUILD_MODE" ] ; then
# we can now set GUEST_HOSTNAME safely
if [ -n "$BUILD_MODE" ] ; then
# we can now set GUEST_HOSTNAME safely
- [ -z "$GUEST_HOSTNAME" ] && GUEST_HOSTNAME=$
lxc
+ [ -z "$GUEST_HOSTNAME" ] && GUEST_HOSTNAME=$
(echo $lxc | sed -e 's,\.,-,g')
else
# as this command can be used in other contexts, not specifying
# a repo is considered a warning
else
# as this command can be used in other contexts, not specifying
# a repo is considered a warning