Skip to content

Instantly share code, notes, and snippets.

@dcb9
Created April 7, 2015 17:01
Show Gist options
  • Save dcb9/c9872cfe7ad76ecfe791 to your computer and use it in GitHub Desktop.
Save dcb9/c9872cfe7ad76ecfe791 to your computer and use it in GitHub Desktop.
Centos 导入 vagrant box 出错
使用打包的 vagrant box 启动时报以下错误
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/ifup eth1 2> /dev/null
解决办法
vagrant ssh
rm -f /etc/udev/rules.d/70-persistent-net.rule
rm -f /etc/sysconfig/network-scripts/ifcfg-eth1
vagrant reload
最好重新打个包,然后在打包之前就把需要删除的这两个东西先删除。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment