Vagrantを使って、VM環境を作ろうとしています。
仮想マシン設定用のVagrantfileを作ったのち、vagrant upを実行するとエラーが出てしまいます。
調べたところ、仮想マシン作成時にMACアドレスが変更されることが原因とのことは分かり、
以下を実行しなければいけないとのことはわかったのですが、その対処法を教えていただきたいです。
###エラーメッセージ
The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! # Down the interface before munging the config file. This might # fail if the interface is not actually set up yet so ignore # errors. /sbin/ifdown 'eth1' # Move new config into place mv -f '/tmp/vagrant-network-entry-eth1-1493109230-0' '/etc/sysconfig/network-scripts/ifcfg-eth1' # attempt to force network manager to reload configurations nmcli c reload || true # Restart network service network restart Stdout from the command: Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining IP information for eth0... done. [ OK ] Bringing up interface eth1: Determining if ip address 192.168.33.10 is already in use for device eth1... Error, some other host (08:00:27:14:F6:65) already uses address 192.168.33.10. [FAILED] Stderr from the command: bash: line 11: nmcli: command not found
あなたの回答
tips
プレビュー