[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vagrant - debiansid



ok,
I found the issue, but this is not resolved.....
I remind I tried to create a debian sid.

The default network interface name created (from recent udev it seems) is enp0s3, not eth0. In /etc/network/interfaces, there is a declaration for eth0, no ip address is bound via the DHCP.
The network config should match enp0s3 instead. If I manually update this and restart network, it is fine.

Now, I don't know where this should be managed (bootstrap-vz network, boostrap-vz virtualbox provider, ..?)

Olivier

Le ven. 14 août 2015 à 14:03, olivier sallou <olivier.sallou@gmail.com> a écrit :
Le ven. 14 août 2015 à 14:00, Olivier Berger <olivier.berger@telecom-sudparis.eu> a écrit :
Hi.

olivier sallou <olivier.sallou@gmail.com> writes:

> I tried to do so using bootstrap-vz, but there is failure at vagrant up, I
> can't connect, neither using vagrant insecure key nor using directly
> login/password.
>
> However, if I launch it directly via VirtualBox, I can use root login
> successfully.
>
> I wonder if it is not a VirtualBoxAdditions issue / port mapping,...
>
> during bootstrap-vz I see this error:
>
> """
> The headers for the current running kernel were not found. If the following
> module compilation fails then this could be the reason.
>
> Building the main Guest Additions module ...fail!
> (Look at /var/log/vboxadd-install.log to find out what went wrong)
> Doing non-kernel setup of the Guest Additions ...done.
> Installing the Window System drivers
> Could not find the X.Org or XFree86 Window System, skipping.
> """
>
> It seems that bootstrap-vz with VirtualBox does not add automatically the
> linux kernel headers package to compile additions, nor X packages (but this
> is not the issue here).

Yes, there are/were issues about the kernel header versions between host
and target.

>
> I have no issue with other "base" boxes (Debian, CentOS, ..) using vagrant.
>

Which version of bootstrap-vz did you use ?

I remember we once needed the version from the development branch in
Git.

Then it seems the master branch was working at some point, since I
changed this :
https://github.com/olberger/DebianJessieBaseBox/commit/939e6d22bb5334e90c77a84021eb8887f96095d5
 
A recent one, but don't know which one. I gonna retry using latest from master. 


Hope this helps.

Best regards,

--
Olivier BERGER
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

Reply to: