@alexandrw
Немного ИнДженер

Останавливается загрузка vagrant up. На строчке «Guest Screen Resize) were not restarted automatically»?

windows 10 64

vagrant -v
Vagrant 2.3.6


vagrant plugin list
vagrant-multi-putty (1.6.0, global)
vagrant-vbguest (0.32.0, global)


vagrantfile:
spoiler
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  
  config.vm.define "VM1" do | p |
   p.vm.box = 'ubuntu/focal64'
   p.vm.box_version = "20240118.0.0"
   p.vm.box_check_update = false											#Отключение обновления
   p.vm.host_name = "VM1-Probnaja"
   
   #p.vm.network "public_network", bridge: "wlp7s0", ip: "192.168.88.165"	#Создание публичной сети, порта и прописывание адреса для подключения
   
   #p.vm.network "private_network", ip: "192.168.88.160" 					#Создание частной сети для подключения к машине используя специализированный ip адрес
   
   #p.vm.network "forwarded_port", guest: 80, host: 180 					#Простой проброс порта для подключения
   
   #p.vm.network "forwarded_port", guest: 80, host: 180, host_ip: "127.0.0.1" 	#Проброс порта для подключения только через 127.0.0.1 , исключая публичный доступ извне

   p.vm.provider "virtualbox" do |res|
      res.name = "VM1_debian_bullseye64"
	  res.cpus = "2"
      res.memory = "6144"
	  res.customize ['modifyvm', :id, '--graphicscontroller', 'vmsvga']
      res.customize ['modifyvm', :id, '--vram', '128']
      res.customize ["modifyvm", :id, "--clipboard-mode", "bidirectional"]
      res.customize ["modifyvm", :id, "--draganddrop", "bidirectional"]
	  res.gui = true
	  
   end
   
  end

end


Кусочек лога log:

spoiler
C:\Vagrant\bin>vagrant up

Bringing machine 'VM1' up with 'virtualbox' provider...
==> VM1: Box 'ubuntu/focal64' could not be found. Attempting to find and install...
    VM1: Box Provider: virtualbox
    VM1: Box Version: 20240118.0.0
==> VM1: Loading metadata for box 'ubuntu/focal64'
    VM1: URL: https://vagrantcloud.com/ubuntu/focal64
==> VM1: Adding box 'ubuntu/focal64' (v20240118.0.0) for provider: virtualbox
    VM1: Downloading: https://vagrantcloud.com/ubuntu/boxes/focal64/versions/20240118.0.0/providers/virtualbox/unknown/vagrant.box
Download redirected to host: cloud-images.ubuntu.com
    VM1:
==> VM1: Successfully added box 'ubuntu/focal64' (v20240118.0.0) for 'virtualbox'!
==> VM1: Importing base box 'ubuntu/focal64'...
==> VM1: Matching MAC address for NAT networking...
==> VM1: Setting the name of the VM: VM1_debian_bullseye64
==> VM1: Clearing any previously set network interfaces...
==> VM1: Preparing network interfaces based on configuration...
    VM1: Adapter 1: nat
==> VM1: Forwarding ports...
    VM1: 22 (guest) => 2222 (host) (adapter 1)
==> VM1: Running 'pre-boot' VM customizations...
==> VM1: Booting VM...
==> VM1: Waiting for machine to boot. This may take a few minutes...
    VM1: SSH address: 127.0.0.1:2222
    VM1: SSH username: vagrant
    VM1: SSH auth method: private key
    VM1:
    VM1: Vagrant insecure key detected. Vagrant will automatically replace
    VM1: this with a newly generated keypair for better security.
    VM1:
    VM1: Inserting generated public key within guest...
    VM1: Removing insecure key from the guest if it's present...
    VM1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> VM1: Machine booted and ready!
[VM1] A Virtualbox Guest Additions installation was found but no tools to rebuild or start them.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'virtualbox-guest-x11' is not installed, so not removed
The following packages will be REMOVED:
  virtualbox-guest-utils*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 6070 kB disk space will be freed.
(Reading database ... 63759 files and directories currently installed.)
Removing virtualbox-guest-utils (6.1.38-dfsg-3~ubuntu1.20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
(Reading database ... 63746 files and directories currently installed.)
Purging configuration files for virtualbox-guest-utils (6.1.38-dfsg-3~ubuntu1.20.04.1) ...
Processing triggers for systemd (245.4-4ubuntu3.22) ...
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-5.4.0-169-generic is already the newest version (5.4.0-169.187).
linux-headers-5.4.0-169-generic set to manually installed.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-9 dctrl-tools
  dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1
  libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0
  libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev
  libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev
  libtsan0 libubsan1 linux-libc-dev make manpages-dev
Suggested packages:
  binutils-doc cpp-doc gcc-9-locales debtags menu debian-keyring g++-multilib
  g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison
  gdb gcc-doc gcc-9-multilib glibc-doc bzr libstdc++-9-doc make-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9
  dctrl-tools dkms dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
  libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl
  libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0
  libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev
0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.6 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9-base amd64 9.4.0-1ubuntu1~20.04.2 [18.9 kB]
~

~
Get:43 http://archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2266 kB]
Fetched 45.6 MB in 20s (2289 kB/s)
Selecting previously unselected package gcc-9-base:amd64.
(Reading database ... 63745 files and directories currently installed.)
Preparing to unpack .../00-gcc-9-base_9.4.0-1ubuntu1~20.04.2_amd64.deb ...
Unpacking gcc-9-base:amd64 (9.4.0-1ubuntu1~20.04.2) ...
~
...
~
Selecting previously unselected package manpages-dev.
Preparing to unpack .../42-manpages-dev_5.05-1_all.deb ...
Unpacking manpages-dev (5.05-1) ...
Setting up manpages-dev (5.05-1) ...
~
...
~
Setting up dkms (2.8.1-5ubuntu2) ...
Setting up g++-9 (9.4.0-1ubuntu1~20.04.2) ...
Setting up g++ (4:9.3.0-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.8ubuntu1.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.14) ...
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
Installing Virtualbox Guest Additions 7.0.12 - guest version is 6.1.38
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.12 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.4.0-169-generic.
update-initramfs: Generating /boot/initrd.img-5.4.0-169-generic
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.0.12 r159484 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login if some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically


Пробовал другие боксы, остановка в том же месте...
  • Вопрос задан
  • 63 просмотра
Решения вопроса 1
для отладки установите VAGRANT_LOG=debug или в командной строке добавьте --debug
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы