If it can help you vagrant@archlinux:~$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 08:00:27:1a:b1:01 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::784:a34a:587c:970/64 scope link valid_lft forever preferred_lft forever 3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 08:00:27:33:fa:78 brd ff:ff:ff:ff:ff:ff inet 192.168.33.10/24 brd 192.168.33.255 scope global enp0s8 valid_lft forever preferred_lft forever inet 192.168.56.101/24 brd 192.168.56.255 scope global enp0s8 valid_lft forever preferred_lft forever inet6 fe80::afdf:f5bc:334f:c4f2/64 scope link valid_lft forever preferred_lft forever On Wed, Jun 22, 2016 at 8:25 PM, Andre "Osku" Schmidt via arch-general <arch-general@archlinux.org> wrote:
On Wed, Jun 22, 2016 at 7:18 PM, Jonathan Steel <mail@jsteel.org> 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#L...
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_m... [2] https://wiki.archlinux.org/index.php/Netctl