That didn't work for me and didn't fetch the preseed and late command files
So I replaced that with IP of underlying host's IP and did only for Linux
and still needs to be done for Mac.In that way It works.

If you mean 10.0.2.2 or 10.0.2.3 is fine and no need to capture the Host IP
then
How can you make sure that 10.0.2.2 or 10.0.2.3 always works.


On Wed, Mar 5, 2014 at 11:47 AM, Lih Chen <notifications@github.com> wrote:

> In vars.sh:
>
> >  GUESTADDITIONS="./isos/VBoxGuestAdditions-4.3.6.iso"
> >  HDD="${HOME}/VirtualBox VMs/${NAME}/main.vdi"
> >  HDD_SWAP="${HOME}/VirtualBox VMs/${NAME}/swap.vdi"
> > +
> > +# Determining IP address of current host
> > +if [ $OS_NAME == "Linux" ]; then
> > +	IP=`hostname -I | cut -d' ' -f1`
>
> What I was trying to say was that 10.0.2.2 or 10.0.2.3 is fine.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/DemandCube/vagrant-ubuntu/pull/1/files#r10288595>
> .
>



-- 
*Hikmat Dhamee, Entrepreneur* | Kathmandu,Nepal |
me.hemant.available@gmail.com | +977-9848751308 | SKYPE:* talk_hemant* |
whiteboxdeveloper.blogspot.com