iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improvements
[automated-distro-installer]
/
myfai-chboot-local
diff --git
a/myfai-chboot-local
b/myfai-chboot-local
index ca4d32ea4ba21b67fdd2190a9a680542442ed125..0f83ea0a7bccfc2ed268d0e5a42d9360b43e53e9 100755
(executable)
--- a/
myfai-chboot-local
+++ b/
myfai-chboot-local
@@
-111,7
+111,7
@@
if [[ $hostip ]]; then
exit 1
fi
else
- my_ip=$(ip r show default | sed -r 's/.*
via
([^ ]*).*/\1/' | head -n1)
+ my_ip=$(ip r show default | sed -r 's/.*
src
([^ ]*).*/\1/' | head -n1)
fi
if [[ $host == default ]]; then