| Index: image_to_live.sh
|
| diff --git a/image_to_live.sh b/image_to_live.sh
|
| index 84072398b17ef901a774cedf4a0f95ac41d55ab5..c2aafc3c639ffa2c3b5126efe24ef62139bd3753 100755
|
| --- a/image_to_live.sh
|
| +++ b/image_to_live.sh
|
| @@ -107,7 +107,7 @@ function get_hostname {
|
| # Dedicated usb NIC? Perhaps this detection should be done in the target,
|
| # which will get the return address in one way or another. Or maybe we should
|
| # just open a ssh tunnel and use localhost.
|
| - hostname=$(sudo ifconfig eth0 |
|
| + hostname=$(/sbin/ifconfig eth0 |
|
| grep 'inet addr' |
|
| cut -f2 -d':' |
|
| cut -f1 -d' ')
|
|
|