Skip to content

Instantly share code, notes, and snippets.

@mohae
Last active February 25, 2016 17:01
Show Gist options
  • Select an option

  • Save mohae/bfb509437bcdc76ecd3f to your computer and use it in GitHub Desktop.

Select an option

Save mohae/bfb509437bcdc76ecd3f to your computer and use it in GitHub Desktop.
PS D:\packer-templates\centos7-64-vbox-vagrant> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'centos7-64-vbox-vagrant.box' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'centos7-64-vbox-vagrant.box' (v0) for provider: virtualbox
default: Unpacking necessary files from: file://D:/packer-templates/centos7-64-vbox-vagrant/centos7-64-vbox-vagrant.box
default: Progress: 100% (Rate: 68.9M/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'centos7-64-vbox-vagrant.box' (v0) for 'virtualbox'!
==> default: Importing base box 'centos7-64-vbox-vagrant.box'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: centos7-64-vbox-vagrant_default_1455134370788_59033
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2200 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
No installation found.
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.cisp.com
* extras: mirror.cisp.com
* updates: mirrors.liquidweb.com
Package gcc-4.8.5-4.el7.x86_64 already installed and latest version
Package 1:make-3.82-21.el7.x86_64 already installed and latest version
Package 4:perl-5.16.3-286.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:3.10.0-327.4.5.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel-devel x86_64 3.10.0-327.4.5.el7 updates 11 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 11 M
Installed size: 33 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-devel-3.10.0-327.4.5.el7.x86_64 1/1
Verifying : kernel-devel-3.10.0-327.4.5.el7.x86_64 1/1
Installed:
kernel-devel.x86_64 0:3.10.0-327.4.5.el7
Complete!
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
mount: /dev/loop0 is write-protected, mounting read-only
Installing Virtualbox Guest Additions 5.0.10 - guest version is
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.10 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.10 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules[ OK ]
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules[ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[ OK ]
Building the shared folder support module[ OK ]
Building the OpenGL support module[FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong. The module is not built but the others are.)
Doing non-kernel setup of the Guest Additions[ OK ]
Starting the VirtualBox Guest Additions [ OK ]
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 5.0.10. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims: 5.0.10 r104061
VBoxService inside the vm claims: 5.0.10
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims: 5.0.10 r104061
VBoxService inside the vm claims: 5.0.10
Going on, assuming VBoxService is correct...
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => D:/packer-templates/centos7-64-vbox-vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment