Created
April 7, 2015 17:01
-
-
Save dcb9/c9872cfe7ad76ecfe791 to your computer and use it in GitHub Desktop.
Centos 导入 vagrant box 出错
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
使用打包的 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