Change wording of VM welcome message, fixes: #780

This commit is contained in:
j 2012-04-24 11:56:20 +02:00
parent 6937956e96
commit 4f3593a6b9

View file

@ -76,7 +76,7 @@ chmod +x /usr/local/bin/fixtime
cat > /usr/local/bin/genissue <<EOF cat > /usr/local/bin/genissue <<EOF
#!/bin/bash #!/bin/bash
HOST=\$(rgrep .local /var/log/syslog | grep "Host name is" | tail -n 1 | awk '{print \$12}' | sed 's/\.$//') HOST=\$(rgrep .local /var/log/syslog | grep "Host name is" | tail -n 1 | awk '{print \$12}' | sed 's/\.$//')
echo Welcome to pan.do/ra - connect via one of those urls: echo Welcome to pan.do/ra. Connect via one of these URLs:
echo echo
echo " http://\$HOST/" echo " http://\$HOST/"
for ip in \$(ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print \$1 }'); do for ip in \$(ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print \$1 }'); do