Здравствуйте. У меня вот
такой box, vagrant 1.8.5, vbox 5.1.4 и всё это на lubuntu 16.04.1. Выглядит всё вот так:
-works:~/my-project$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'scotch/box' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
Тут ничего не происходит минут 5. И снова вывод
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
После всего этого если открыть gui VBox то видно что машина в фоне работает, а по 192.168.33.10 ничего нет.
В той же связке на основной машине всё работает. А на этом старичке, которого храню на работе, не хочет. Кто что посоветует?
Пользователь добавил сообщение 28 Августа 2016, 14:13:58:
После
-works:~/my-project$ vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Destroying VM and associated drives...
Вывод становиться
-works:~/my-project$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'scotch/box'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'scotch/box' is up to date...
==> default: Setting the name of the VM: my-project_default_1472382012789_95129
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
С такой ошибкой:There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "94b04127-4b59-4f99-a464-333d16ffba0a", "--type", "headless"]
Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Пользователь добавил сообщение 28 Августа 2016, 15:29:00:
Зайдя в gui VBox увидел, что настройки машины не правильные(ошибка), а именно, вся оперативка(мои 2 Гб) занята машиной в настройках материнской платы. Изменив до максимального 980 Мб получил timeout, как в начале. Буду дальше мучить.