Re: vagrant/virtualbox archlinux guest private_network

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



On Wed, Jun 22, 2016 at 7:18 PM, Jonathan Steel <mail@xxxxxxxxxx> wrote:

> On Wed 22 Jun 2016 at 18:06, Andre "Osku" Schmidt wrote:
> > [...] I don't do anything special so install netctl on the box and share
> > > further errors.
> > >
> > ​netctl is installed
> >
> https://github.com/oskude/vagrant-archmini/blob/private_network/install.sh#L176
> >
> > care to share your box setup scripts?​
>
> Does that solve your issue or are you having further errors? I don't have a
> script, only notes:
>
>   pacstrap /mnt base vim syslinux virtualbox-guest-utils \
>     virtualbox-guest-modules-arch openssh
>
>   /etc/ssh/sshd_config:
>     PermitRootLogin yes
>
>   systemctl enable vboxservice sshd dhcpcd
>
>   vagrant package --base *vmname* --output *name*.box


​
the errors are for the "private_network" branch[0], that has netctl
installed.

i now also updated that branch[0] with following:

- install dhcpcd and `systemctl enable dhcpcd`
  - generates same error

- add "PermitRootLogin yes" in sshd_config
  - generates same error
  - (i thought vagrant does everything through vagrant user and sudo)

- install vboxservice and `systemctl enable vboxservice`
  - generates same error
  - (i gathered from vbox wiki page[1] that we dont need to enable
vboxservice anymore)

- disable systemd-networkd and systemd-resolved and setup netctl
  - generates same error
  - (would still love to use systemd-networkd instead;P)

- disable dhcpcd service
  - generates same error
  - (i assumed from netctl wiki page[2] that we dont need to manually
enable/start dhcpcd, cause it does not mention it)

i would be curious to see what the output of `ip a` looks like on a working
client with private_network. cause somehow vagrant here is not finding the
one it wants, and tries to start netctl without device/profile name?:

"Failed to restart netctl@.service: Unit name netctl@.service is missing
the instance name."

i guess i'll try to findout what exactly vagrant is trying to find/do.

​darn
.andre

[0] https://github.com/oskude/vagrant-archmini/tree/private_network
[1] "Since version 5.0.16, virtualbox-guest-modules-arch and
virtualbox-guest-dkms use systemd-modules-load service to load their
modules at boot time."
https://wiki.archlinux.org/index.php/Virtualbox#Load_the_Virtualbox_kernel_modules_2
[2] https://wiki.archlinux.org/index.php/Netctl

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux