流浪错误/sbin/ifdown eth1 2>/适用于Alpine Linux v3.13的dev/null

流浪错误/sbin/ifdown eth1 2>/适用于Alpine Linux v3.13的dev/null,linux,vagrant,virtual-machine,alpine,Linux,Vagrant,Virtual Machine,Alpine,只有在尝试使用generic/alpine313引导Vagrant时,我才面临一个奇怪的问题,如果我将框更改为generic/alpine312,它就像一个符咒。我确实需要Alpine v3.13而不是v3.12 流浪者档案: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| # Define Vagrant Box to be imported confi

只有在尝试使用
generic/alpine313
引导Vagrant时,我才面临一个奇怪的问题,如果我将框更改为
generic/alpine312
,它就像一个符咒。我确实需要Alpine v3.13而不是v3.12

流浪者档案:

# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure("2") do |config|
  
  # Define Vagrant Box to be imported
  config.vm.box = "generic/alpine313"

  # We based our env on VirtualBox
  config.vm.provider "virtualbox"

  # Disable the installation of the host's VirtualBox Guest Additions on the guest system
  config.vbguest.auto_update = false

  # Run build script
  config.vm.provision 'shell' do |s|
    s.name = 'Starting configuration process'
    s.path = 'build.sh'
  end
  
  # Sync local to guest directory
  options = {
    type: 'nfs',
    rsync__args: ['--verbose', '--archive', '--delete', '-z', '--copy-links', '--chmod=ugo=rwX'],
    create: true,
    mount_options: [],
    nfs_udp: false
  }
  config.vm.synced_folder './', '/temp', options  

  # Create host-only network
  config.vm.network "private_network", type: "dhcp"

end
向上游荡后出现错误:

==> 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!

/sbin/ifdown eth1 2> /dev/null

Stdout from the command:

Stderr from the command:

有什么建议吗?

找到了解决方案和其他信息

向流浪者项目报告的问题:

带有修复程序的PR:(还未可用于Vagrant v2.2.14)

按照下面的线程手动修补Alpine的内置Vagrant插件可以解决问题,直到新版本发布: