$ sudo pacman -S netctl --noconfirm
Install the package netctl
. (--Noconfirm: option to run without confirmation)
I get an error when I do vagrant up
with the following lines of Vagrantfile
enabled in the guest operating system ʻarchlinux / archlinux`.
config.vm.network "public_network"
config.vm.network "private_network", ip: "192.168.33.10"
==> default: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
# Configure eth1
mv '/tmp/vagrant-network-eth1-xxxxxxxxxx-x' '/etc/netctl/eth1' &&
ip link set 'eth1' down &&
netctl restart 'eth1' &&
netctl enable 'eth1'
Stdout from the command:
Stderr from the command:
mv: cannot move '/tmp/vagrant-network-eth1-xxxxxxxxxx-x' to '/etc/netctl/eth1': No such file or directory
mv: cannot move '/tmp/vagrant-network-eth1-xxxxxxxxxx-x' to '/etc/netctl/eth1'
I'm angry that I can't find the directory / etc / netctl / eth1
.
This is the directory created by installing netctl
.
The guest operating system box ʻarchlinux / archlinuxdoes not contain
netctl. The solution is to install with
sudo pacman -S netctl`.
--Host OS: Windows 10 Pro (version 1809) --Guest OS: archlinux / archlinux (virtualbox, 2020.02.04) --VirtualBox version 6.0.16 r135674 (Qt5.6.2)