Giter VIP home page Giter VIP logo

chef / bento Goto Github PK

View Code? Open in Web Editor NEW
4.2K 195.0 1.1K 3.03 MB

Packer templates for building minimal Vagrant baseboxes for multiple platforms

License: Apache License 2.0

Ruby 16.68% Shell 25.12% PowerShell 22.76% HCL 35.17% HTML 0.27%
packer-templates vagrant parallels vmware virtualbox macos windows freebsd linux ubuntu amazon centos packer vmware-fusion vmware-workstation redhat rhel oracle

bento's Introduction

Bento

Bento is a project that encapsulates Packer templates for building Vagrant base boxes. A subset of templates are built and published to the bento org on Vagrant Cloud. These published boxes serve as the default boxes for kitchen-vagrant.

*NOTE:

  • Vagrant 2.4.0+ is required for new cpu architecture support
  • Virutalbox 6.x requires disabling nat config that allows vbox 7.x guests to connect to the host. To use comment out lines #161 and #162 in bento/packer_templates/pkr-variables.pkr.hcl or add variable vboxmanage = [] to os_pkrvars files.
  • When running packer build command the output directory is relative to the working directory the command is currently running in. Suggest running packer build commands from bento root directory for build working files to be placed in bento/builds/(build_name) directory by default. If the output_directory variable isn't overwritten a directory called builds/(build_name) will be created in the current working directory that you are running the command from

Using Public Boxes

Adding a bento box to Vagrant

vagrant box add bento/ubuntu-18.04

Using a bento box in a Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "bento/ubuntu-18.04"
end

Installing Bento

  1. install ruby environment
  2. clone repo
  3. cd <path/to>/bento
  4. gem build bento.gemspec
  5. gem install bento-*.gem

Building Boxes

Requirements

*1 NOTE: support for these providers is considered experimental and corresponding Vagrant Cloud images may or may not exist.

*2 NOTE: AARCH64 or ARM64 support is a work in progress only guaranteed through parallels and vmware provider.

Using bento executable

build

To build a Debian vagrant box using the bento tool with the template available in the os_pkrvars dir, we can use the following command:

bento build --cpus 2 os_pkrvars/debian/debian-12-x86_64.pkrvars.hcl

Other available options:

  • cpus - Specify the number of CPUs needed in the new build
  • mem - Specify the memory
  • config - Use a configuration file other than default builds.yml
  • vars - Comma seperated list of variable names equal values (ex: boot_wait="2s",ssh_timeout="5s")
  • var_files - Comma seperated list of pkrvar.hcl files to include in the builds (ex: /path/to/var_file.pkrvars.hcl,/path/to/next/var_file2.pkrvars.hcl)
  • metadata_only - Only generate the metadata json file
  • mirror - The template will have a default mirror link, if you wish to use an alternative one, you can utilise this configuration
  • dry-run - This will not create any build, but will create a metadata file for reference
  • only - Only build some Packer builds (Default: parallels-iso.vm,virtualbox-iso.vm,vmware-iso.vm
  • except - Build all Packer builds except these (ex: parallels-iso.vm,virtualbox-iso.vm,vmware-iso.vm)
  • debug - Print the debug logs
  • gui - Packer will be building VirtualBox virtual machines by launching a GUI that shows the console of the machine being built. This option is false by default
  • single - This can be used to disable the parallel builds

list

Used to list all builds available for the workstations cpu architecture. This list is also filtered by the build.yml file do_not_build: section. All entries are matched via regex to filter out build templates from the list.

This only shows what would be built with bento build and no template is specified. If any template is specified even if it's in the build.yml to be filtered it'll override the filter.

bento list

test

If you have successfully built a vagrant box using the bento tool, you should have the vagrant box and a metadata file in the builds folder. You can use these files to test the build with a test-kitchen configuration. Run the following command to test the build.

bento test

upload

To upload boxes in the builds directory to your vagrant cloud account update the build.yml file to specify your account name and which OSs are going to be public.

Make sure you have configured the vagrant cli and logged into your account for the upload command to work.

bento upload

When running bento upload it'll read each <box_name>._metadata.json file and use the data provided to generate the vagrant cloud publish command with the descriptions, version, provider, and checksums all coming from the <box_name>._metadata.json file.

Using packer

To build a Ubuntu 22.04 box for only the VirtualBox provider

cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -only=virtualbox-iso.vm -var-file=os_pkrvars/ubuntu/ubuntu-22.04-x86_64.pkrvars.hcl ./packer_templates

To build latest Debian 12 boxes for all possible providers (simultaneously)

cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -var-file=os_pkrvars/debian/debian-12-x86_64.pkrvars.hcl ./packer_templates

To build latest CentOS 7 boxes for all providers except VMware and Parallels

cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -except=parallels-iso.vm,vmware-iso.vm -var-file=os_pkrvars/centos/centos-7-x86_64.pkrvars.hcl ./packer_templates

To use an alternate url

cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -var 'iso_url=https://mirrors.rit.edu/fedora/fedora/linux/releases/39/Server/x86_64/iso/Fedora-Server-dvd-x86_64-39-1.5.iso' -var-file=os_pkrvars/fedora/fedora-39-x86_64.pkrvars.hcl ./packer_templates

If the build is successful, your box files will be in the builds directory at the root of the repository.

KVM/qemu support for Windows

You must download the iso image with the Windows drivers for paravirtualized KVM/qemu hardware and place it in the builds/iso/ directory. You can do this from the command line: mkdir -p builds/iso/; wget -nv -nc https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso -O builds/iso/virtio-win.iso

You can use the following sample command to build a KVM/qemu Windows box:

packer init -upgrade ./packer_templates
packer build --only=qemu.vm -var-file=os_pkrvars/windows/windows-2022-x86_64.pkrvars.hcl ./packer_templates

Proprietary Templates

Templates for operating systems only available via license or subscription are also available in the repository, these include but are not limited to: Red Hat Enterprise Linux, and SUSE Linux Enterprise. As the ISOs are not publicly available the URL values will need to be overridden as appropriate. We rely on the efforts of those with access to licensed versions of the operating systems to keep these up-to-date.

Networking/Firewalls

Most of the providers expect unrestricted access to networking in order to build as expected. We can't enumerate all possible firewall configurations but include some snippets below that might be useful to users.

Windows

$VS = "Standardswitch"
$IF_ALIAS = (Get-NetAdapter -Name "vEthernet ($VS)").ifAlias
New-NetFirewallRule -Displayname "Allow incomming from $VS" -Direction Inbound -InterfaceAlias $IF_ALIAS -Action Allow

Hyper-V Generation 2 VM's

Hyper-V Gen 2 VMs do not support floppy drives. If you previously provided resources using a floppy drive, you must add those files to your Gen 2 iso images, in particular:

  • autounattend.xml: The Gen 2 autounattend.xml file supports EFI partitions. Update the autounattend.xml with the correct Windows version for your systems and ensure that the partitions are correct for your situation. You also need to manage the driver disk that holds the hyper-v guest services drivers and adjust the autounattend.xml file as appropriate.

Bugs and Issues

Please use GitHub issues to report bugs, features, or other problems.

Related projects

A huge thank you to these related projects from which we've taken inspiration and often used as a source for workarounds in complex world of base box building.

License & Authors

These basebox templates were converted from veewee definitions originally based on work done by Tim Dysinger to make "Don't Repeat Yourself" (DRY) modular baseboxes. Thanks Tim!

Copyright 2012-2024, Progress Software, Inc. (<[email protected]>)
Copyright 2011-2012, Tim Dysinger (<[email protected]>)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

bento's People

Contributors

arizvisa avatar bflad avatar bkonick avatar cheeseplus avatar fnichol avatar hh avatar jakauppila avatar jkugler avatar johnmccrae avatar jstaph avatar juliandunn avatar kaurin avatar kenhys avatar legal90 avatar lwhsu avatar mattiasgiese-b1 avatar mmguero avatar mwrock avatar phillipross avatar ramereth avatar rickard-von-essen avatar rmoriz avatar schisamo avatar scotthain avatar stromweld avatar svpernova09 avatar tas50 avatar tcs-jjelinek avatar tmatilai avatar wickedviking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bento's Issues

Box chef/ubuntu-12.10 / 13.04 fails to install any packages

The boxes chef/ubuntu-12.10 and chef/ubuntu-13.04 are available and working, however when installing packages 404 errors occur due to all packages being missing:

Err http://us.archive.ubuntu.com quantal-backports/restricted i386 Package  404  Not Found [IP: 91.189.91.15 80]
...

While I am not sure if this is deliberately done by ubuntu, the versions are end-of-life and the 13.10 and 14.04 are working as expected.

Ubuntu 14.04: No guest IP was given to the Vagrant core NFS helper

The box resulting from a ubuntu-14.04-amd64.json run does not properly start up under vagrant, while the box that is referenced in the readme does not suffer from this problem. This is the reason why I'm creating this issue here.

The Vagrant output:

==> default: Box 'opscode/ubuntu-14.04_chef-provisionerless' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'opscode/ubuntu-14.04_chef-provisionerless' (v0) for provider: virtualbox
    default: Downloading: file:///.../opscode_ubuntu-14.04_chef-provisionerless.box
==> default: Successfully added box 'opscode/ubuntu-14.04_chef-provisionerless' (v0) for 'virtualbox'!
==> default: Importing base box 'opscode/ubuntu-14.04_chef-provisionerless'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: semester-project
==> 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 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
No guest IP was given to the Vagrant core NFS helper. This is an
internal error that should be reported as a bug.

My vagrantfile:

# -*- mode: ruby -*-

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "opscode/ubuntu-14.04_chef-provisionerless"
  config.vm.box_url = "file:///.../opscode_ubuntu-14.04_chef-provisionerless.box"

  config.vm.network "private_network", type: "dhcp"

  config.vm.synced_folder "./Code", "/Code", :nfs => true

end

I'm using Vagrant 1.6.3 and Mac OS 10.9.3. Pleas let me know if I can provide any additional information. Also let me know if you think this issue is best added to the Vagrant repo instead of here.

Best,
Nicolas

chef/ubuntu-13.10 no chef_solo?

So I've downloaded the box chef/ubuntu-13.10 on https://vagrantcloud.com/chef/ubuntu-13.10

When I up the box it tells me the following:

The chef binary (either chef-solo or chef-client) was not found on
the VM and is required for chef provisioning. Please verify that chef
is installed and that the binary is available on the PATH.

Do I have to install chef myself on the box, even when the box has chef in the name?

centos-5.10 add net-tools

ran into a network problem doing yum install net-tools, not sure why the network problem was there, it's rather hard to debug without say ifconfig which is in net-tools. Could you please add this to the image

[Enhancement] Packer template for Windows

Now that Vagrant 1.6 (1.6.1 at this time) is out, with first-class WinRM support, it should be possible to use Packer to create windows images (or at least darn close).

Chef binary not installed on FreeBSD 9.2 and 10.0

Here are the relevant settings in the packer template files (freebsd-9.2-amd64.json):

  "provisioners": [
    {
      "environment_vars": [
        "CHEF_VERSION={{user `chef_version`}}"
      ],
      "execute_command": "export {{.Vars}} && cat {{.Path}} | su -m",
      "scripts": [
        "scripts/freebsd/postinstall.sh",
        "scripts/freebsd/vmtools.sh",
        "scripts/common/chef.sh",
        "scripts/freebsd/cleanup.sh",
        "scripts/common/minimize.sh"
      ],
      "type": "shell"
    }
  ],
  "variables": {
    "chef_version": "latest",
    "mirror": "http://ftp.freebsd.org/pub/FreeBSD"
  }

When I run

packer build -only=virtualbox-iso freebsd-9.2-amd64.json

I get the following output:

==> virtualbox-iso: Provisioning with shell script: scripts/common/chef.sh
    virtualbox-iso: downloading https://www.getchef.com/chef/install.sh
    virtualbox-iso: to file /tmp/install-chef.sh
    virtualbox-iso: trying curl...
    virtualbox-iso: Downloading Chef  for freebsd...
    virtualbox-iso: downloading https://www.getchef.com/chef/metadata?v=&prerelease=false&nightlies=false&p=freebsd&pv=9&m=amd64
    virtualbox-iso: to file /tmp/install.sh.6601/metadata.txt
    virtualbox-iso: trying curl...
    virtualbox-iso: url https://opscode-omnibus-packages.s3.amazonaws.com/freebsd/9/amd64/chef-11.14.2_1.freebsd.9.amd64.sh
    virtualbox-iso: md5 3276a5b8e155e02a56a5a0c2e416c177
    virtualbox-iso: sha256  f45a91787243ffe1325468db58cc7669dcecdbd724eec753872f950fb9d79839
    virtualbox-iso: downloaded metadata file looks valid...
    virtualbox-iso: downloading https://opscode-omnibus-packages.s3.amazonaws.com/freebsd/9/amd64/chef-11.14.2_1.freebsd.9.amd64.sh
    virtualbox-iso: to file /tmp/install.sh.6601/chef-11.14.2_1.freebsd.9.amd64.sh
    virtualbox-iso: trying curl...
    virtualbox-iso: Comparing checksum with shasum...
    virtualbox-iso: Installing Chef
    virtualbox-iso: installing with sh...
    virtualbox-iso: Verifying archive integrity... All good.
    virtualbox-iso: Uncompressing The full stack of chef..............(many more dots).............................
    virtualbox-iso: Thank you for installing Chef!
==> virtualbox-iso: Provisioning with shell script: scripts/freebsd/cleanup.sh

So until here everything looks fine.
When I try to use the box with Vagrant, though, I get the following:

Bringing machine 'php' up with 'virtualbox' provider...
==> php: Importing base box 'freebsd-64'...
==> php: Matching MAC address for NAT networking...
==> php: Setting the name of the VM: vagrant-9_php_1407423057712_57795
==> php: Clearing any previously set network interfaces...
==> php: Preparing network interfaces based on configuration...
    php: Adapter 1: nat
    php: Adapter 2: hostonly
==> php: Forwarding ports...
    php: 22 => 2222 (adapter 1)
==> php: Running 'pre-boot' VM customizations...
==> php: Booting VM...
==> php: Waiting for machine to boot. This may take a few minutes...
    php: SSH address: 127.0.0.1:2222
    php: SSH username: vagrant
    php: SSH auth method: private key
    php: Warning: Connection timeout. Retrying...
    php: Warning: Connection timeout. Retrying...
    php: Warning: Remote connection disconnect. Retrying...
==> php: Machine booted and ready!
Sorry, don't know how to check guest version of Virtualbox Guest Additions on this platform. Stopping installation.
==> php: Checking for guest additions in VM...
==> php: Setting hostname...
==> php: Configuring and enabling network interfaces...
==> php: Exporting NFS shared folders...
==> php: Preparing to edit /etc/exports. Administrator privileges will be required...
nfsd running
==> php: Mounting NFS shared folders...
==> php: Running provisioner: chef_solo...
The chef binary (either `chef-solo` or `chef-client`) was not found on
the VM and is required for chef provisioning. Please verify that chef
is installed and that the binary is available on the PATH.

The same error also occurs when I try and run it with freebsd-10.0-amd64.json.

If I specify the provisioner like this, everything works fine:

  "provisioners": [
    {   
      "environment_vars": [ "CHEF_VERSION={{user `chef_version`}}" ],
      "type": "shell",
      "scripts": [
        "scripts/freebsd/postinstall.sh",
        "scripts/freebsd/cleanup.sh",
        "scripts/freebsd/vmtools.sh",
        "scripts/common/minimize.sh"
      ],  
      "execute_command": "export {{.Vars}} && cat {{.Path}} | su -m"
    },       {                                                                                                                                                             
      "type": "chef-solo",
      "cookbook_paths": ["Chef/cookbooks"],
      "roles_path": "Chef/roles",
      "run_list": [
      ]   
    }   
  ],  

After building the box, I can use chef as normal with that setup. The thing is that I want to provision the machine with Chef when I start the machine vagrant up and not with Packer. This way I stay more flexible and can use the same base box for many different Vagrant setups.

Did I overlook something?

vagrant-vbguest plugin compatibility

I try to use the opensuse box with the vagrant-vbguest plugin. When the plugin try to update the guest additions i failes because of the missing dependencies see log.

GuestAdditions seems to be installed (4.3.18) correctly, but not running.
redirecting to systemctl start vboxadd.service
Job for vboxadd.service failed. See 'systemctl status vboxadd.service' and 'journalctl -xn' for details.
Removing existing VirtualBox non-DKMS kernel modules..done
Building the VirtualBox Guest Additions kernel modules
The make utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

Building the main Guest Additions module..failed
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions..done

OpenSUSE 13.2 should specify netdevice=eth0

Parallels-iso builder get stuck waiting for user input before loading the autoinst.xml asking which nic to run dhcp on.

This can be fixed with adding:

netdevice=eth0

to the boot_command

Ubuntu 14.04 box vboxvfs broken?

Hey,

I just build a fresh box with the ubuntu-14.04-amd64.json template.
Once it was finished I tried using it with vagrant:

 INFO interface: error: Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
 INFO interface: Machine: error-exit ["Vagrant::Errors::LinuxMountFailed", "Failed to mount folders in Linux guest. This is usually because\nthe \"vboxsf\" file system is not available. Please verify that\nthe guest additions are properly installed in the guest and\ncan work properly. The command attempted was:\n\nmount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant\nmount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant"]

Executing the command manually via ssh on the box:

root@localhost:~# mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount: Protocol error

Seems like the guest addition install is not working as expected:

root@localhost:~# ls -al /sbin/mount.vboxsf
lrwxrwxrwx 1 root root 40 Apr 20 11:45 /sbin/mount.vboxsf -> /usr/lib/VBoxGuestAdditions/mount.vboxsf
root@localhost:~# ls -al /usr/lib/VBoxGuestAdditions/mount.vboxsf
ls: cannot access /usr/lib/VBoxGuestAdditions/mount.vboxsf: No such file or directory
root@localhost:~# ls -al /usr/lib/VBoxGuestAdditions/
ls: cannot access /usr/lib/VBoxGuestAdditions/: No such file or directory

Packer output seemed ok: https://gist.github.com/fadenb/11112530

Fixed size /tmp in Fedora 19 box

/tmp in the Fedora 19 box is currently ~255MB, which gets exhausted with almost any Chef run that extracts an archive into Chef's cache directory.

Executing the following prevents /tmp from being created as tmpfs:

# systemctl mask tmp.mount

Links for FreeBSD 10 boxes give NoSuchKey error (HTTP 404)

When trying to fetch the FreeBSD 10 box (either Virtualbox or VMware) from the links in the README I am getting an HTTP 404 with the following content:

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>
vagrant/vmware/opscode_freebsd-10_chef-provisionerless.box
</Key>
<RequestId>662684CA1270C1A0</RequestId>
<HostId>
apayxRUloXy2HUff1s5QnqC4A0K02uKyWlSXSlkufWus5kTieGnBjl4UgVcko6ny
</HostId>
</Error>

VirtualBox: Mounting shared folder with vboxsf failed

Version:

  • bento/master
  • ubuntu-14.04-amd64.json

Environment:

  • Host system: OS X 10.9.3
  • VirtualBox: 4.3.12
  • Vagrant: 1.6.3

Scenario:

Using a new box based on VirtualBox with Vagrant produces an error when mounting the shared folder. Vagrant is running but the project folder inside the box is empty because its not mounted.

Steps to Reproduce:

  • clone the repo git clone https://github.com/opscode/bento.git
  • change to packer directory cd bento/packer
  • create a new box packer build --only=virtualbox-iso ubuntu-14.04-amd64.json
  • create a Vagrantfile with the following content:
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "opscode_ubuntu-14.04_chef-provisionerless"
  config.vm.box_url = "./builds/virtualbox/opscode_ubuntu-10.04_chef-provisionerless.box"
end
  • vagrant up

Expected Result:

When creating the new box with packer everything should to be fine:

...
==> virtualbox-iso: Provisioning with shell script: scripts/common/vmtools.sh
    virtualbox-iso: mount: block device /home/vagrant/VBoxGuestAdditions_4.3.12.iso is write-protected, mounting read-only
    virtualbox-iso: Verifying archive integrity... All good.
    virtualbox-iso: Uncompressing VirtualBox 4.3.12 Guest Additions for Linux............
    virtualbox-iso: VirtualBox Guest Additions installer
    virtualbox-iso: Copying additional installer modules ...
    virtualbox-iso: Installing additional modules ...
    virtualbox-iso: Removing existing VirtualBox DKMS kernel modules ...done.
    virtualbox-iso: Removing existing VirtualBox non-DKMS kernel modules ...done.
    virtualbox-iso: Building the VirtualBox Guest Additions kernel modules ...done.
    virtualbox-iso: Doing non-kernel setup of the Guest Additions ...done.
    virtualbox-iso: Starting the VirtualBox Guest Additions ...done.
    virtualbox-iso: Installing the Window System drivers
    virtualbox-iso: Could not find the X.Org or XFree86 Window System, skipping.
...

When running Vagrant with vagrant up everything should be fine (shared folder should be mounted):

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
...
==> default: Mounting shared folders...
    default: /vagrant =>     default: /vagrant => .../opscode-bento

Actual Result:

Creating the new box with packer is fine.

When running Vagrant with vagrant up directly after the new box was created with packer the shared folder mounting failed:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
...
==> default: Mounting shared folders...
    default: /vagrant => .../opscode-bento
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

Vagrant 1.5.1 errors with opscode_ubuntu-12.04_chef-provisionerless.box

Not sure where to put this. It's an issue with one of the current baseboxes. This basebox is also used by test-kitchen, where I first encountered the error.

~ » vagrant box add https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box --name opscode-ubuntu-12.04
==> box: Adding box 'opscode-ubuntu-12.04' (v0) for provider:
    box: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
/Applications/Vagrant/embedded/lib/ruby/2.0.0/rubygems/version.rb:191:in `initialize': Malformed version number string virtualbox (ArgumentError)
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:273:in `new'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:273:in `block (2 levels) in find'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:270:in `map'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:270:in `block in find'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:416:in `block in with_collection_lock'
    from /Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:415:in `with_collection_lock'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:263:in `find'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:81:in `block in add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:148:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:148:in `block (3 levels) in add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:429:in `with_temp_dir'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:130:in `block (2 levels) in add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:429:in `with_temp_dir'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:111:in `block in add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:416:in `block in with_collection_lock'
    from /Applications/Vagrant/embedded/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:415:in `with_collection_lock'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/box_collection.rb:100:in `add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:332:in `box_add'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:125:in `add_direct'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:105:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/commands/box/command/add.rb:77:in `execute'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/commands/box/command/root.rb:61:in `execute'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/cli.rb:42:in `execute'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb:248:in `cli'
    from /Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.5.1/bin/vagrant:158:in `<main>'

chef\debian-7.4 not able to run sudo apt-get update with error in description.

Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US
Ign http://ppa.launchpad.net wheezy/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wheezy/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found

Puppet support in bento?

Hi, I think it's possible to provide a second set of box definitions which would have puppet rather that chef as provider (I essentially fiddled a bit by forking bento, removing the chef provider and then importing the puppet-bootstrap as external module and loading that during install).
If you guys care for it I can polish a bit my work and push it back to you. Interested?

Vagrant public key file could be empty

It could be possible the wget command runs in an error and creates an empty authorized_keys file. The exit code is 0 and doesn't stop the build process. See example below by having issues resolving the raw.githubusercontent.com address:

Provisioning with shell script: scripts/common/vagrant.sh
virtualbox-iso: --2014-08-25 10:18:06--  https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub
virtualbox-iso:   Resolving raw.githubusercontent.com... failed: Name or service not known.
virtualbox-iso: wget: unable to resolve host address "raw.githubusercontent.com"
virtualbox-iso: Provisioning with shell script: scripts/common/vmtools.sh
virtualbox-iso: Verifying archive integrity... All good.

Suggestion to solve this issue: #257

Everything looks fine, but not able to mount the device?

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=id -u vagrant,gid=getent group vagrant | cut -d: -f3 vagrant /vagrant
mount -t vboxsf -o uid=id -u vagrant,gid=id -g vagrant vagrant /vagrant

The error output from the last command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

--- Here is the install output ---

virtualbox-iso output will be in this color.

==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: http://mirrors.kernel.org/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-DVD.iso
==> virtualbox-iso: Starting HTTP server on port 8075
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3256)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-centos-7.0-x86_64 --memory 480
virtualbox-iso: Executing: modifyvm packer-centos-7.0-x86_64 --cpus 1
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 10s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Connected to SSH!
==> virtualbox-iso: Uploading VirtualBox version info (4.3.16)
==> virtualbox-iso: Uploading VirtualBox guest additions ISO...
==> virtualbox-iso: Provisioning with shell script: scripts/centos/fix-slow-dns.sh
virtualbox-iso: Restarting network (via systemctl): [ OK ]
virtualbox-iso: Slow DNS fix applied (single-request-reopen)
virtualbox-iso:
==> virtualbox-iso: Provisioning with shell script: scripts/common/sshd.sh
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
==> virtualbox-iso: Provisioning with shell script: scripts/common/vagrant.sh
virtualbox-iso: --2014-10-09 17:03:43-- https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub
virtualbox-iso: Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.27.79.133
virtualbox-iso: Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.79.133|:443... connected.
virtualbox-iso: HTTP request sent, awaiting response... 200 OK
virtualbox-iso: Length: 409 [text/plain]
virtualbox-iso: Saving to: ‘/home/vagrant/.ssh/authorized_keys’
virtualbox-iso:
virtualbox-iso: 100% 409 --.-K/s in 0s
virtualbox-iso:
virtualbox-iso: 2014-10-09 17:03:43 (21.5 MB/s) - ‘/home/vagrant/.ssh/authorized_keys’ saved [409/409]
virtualbox-iso:
==> virtualbox-iso: Provisioning with shell script: scripts/common/vmtools.sh
virtualbox-iso: mount: /dev/loop0 is write-protected, mounting read-only
virtualbox-iso: Verifying archive integrity... All good.
virtualbox-iso: Uncompressing VirtualBox 4.3.16 Guest Additions for Linux............
virtualbox-iso: VirtualBox Guest Additions installer
virtualbox-iso: Copying additional installer modules ...
virtualbox-iso: Installing additional modules ...
virtualbox-iso: Removing existing VirtualBox non-DKMS k[ OK ]dules
virtualbox-iso: Building the VirtualBox Guest Additions kernel modules
virtualbox-iso: Building the main Guest Additions modul[ OK ]
virtualbox-iso: Building the shared folder support modu[ OK ]
virtualbox-iso: Building the OpenGL support module [ OK ]
virtualbox-iso: Doing non-kernel setup of the Guest Add[ OK ]
virtualbox-iso: Starting the VirtualBox Guest Additions[ OK ]
virtualbox-iso: Installing the Window System drivers
virtualbox-iso: Could not find the X.Org or XFree86 Window System, skipping.
==> virtualbox-iso: Provisioning with shell script: scripts/common/chef.sh
virtualbox-iso: Building a box without Chef
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
virtualbox-iso:
==> virtualbox-iso: Provisioning with shell script: scripts/centos/cleanup.sh
virtualbox-iso: Loaded plugins: fastestmirror
virtualbox-iso: Resolving Dependencies
virtualbox-iso: --> Running transaction check
virtualbox-iso: ---> Package cpp.x86_64 0:4.8.2-16.el7 will be erased
virtualbox-iso: ---> Package gcc.x86_64 0:4.8.2-16.el7 will be erased
virtualbox-iso: ---> Package kernel-devel.x86_64 0:3.10.0-123.el7 will be erased
virtualbox-iso: ---> Package kernel-headers.x86_64 0:3.10.0-123.el7 will be erased
virtualbox-iso: --> Processing Dependency: kernel-headers for package: glibc-headers-2.17-55.el7.x86_64
virtualbox-iso: --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-55.el7.x86_64
virtualbox-iso: ---> Package perl.x86_64 4:5.16.3-283.el7 will be erased
virtualbox-iso: --> Processing Dependency: perl >= 5.006 for package: perl-Text-ParseWords-3.29-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.004 for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.005 for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.008 for package: perl-threads-shared-1.43-6.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl >= 1:5.8.0 for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl >= 1:5 for package: 1:perl-Pod-Escapes-1.04-283.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.004 for package: perl-Getopt-Long-2.40-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.005_04 for package: perl-File-Path-2.09-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.002 for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl >= 5.005 for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl >= 5.006 for package: perl-Exporter-5.68-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.006 for package: perl-Pod-Usage-1.63-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.008 for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl >= 5.004 for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.006 for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 1:5 for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.005 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.008 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 1:5 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl >= 5.008 for package: perl-constant-1.27-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-PathTools-3.40-5.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Scalar-List-Utils-1.27-248.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Carp-1.26-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Getopt-Long-2.40-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 4:perl-macros-5.16.3-283.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Socket-2.010-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 4:perl-libs-5.16.3-283.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-constant-1.27-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 1:perl-parent-0.225-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-threads-shared-1.43-6.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 1:perl-Pod-Escapes-1.04-283.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-File-Path-2.09-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Text-ParseWords-3.29-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Exporter-5.68-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Pod-Usage-1.63-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Time-Local-1.2300-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-Pod-Usage-1.63-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-Time-Local-1.2300-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Config) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Config) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(DynaLoader) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(DynaLoader) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(Errno) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Errno) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Fcntl) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Fcntl) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Fcntl) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(Fcntl) >= 1.03 for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(File::Basename) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(File::Basename) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(File::Basename) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(File::Basename) for package: perl-File-Path-2.09-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IO::File) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(IO::Handle) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IO::Handle) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IO::Seekable) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IO::Select) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IO::Socket) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(IPC::Open3) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(MIME::Base64) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(POSIX) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(POSIX) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Symbol) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Symbol) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Term::ANSIColor) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Term::Cap) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(Text::Wrap) >= 98.112902 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-Socket-2.010-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-Scalar-List-Utils-1.27-248.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-threads-shared-1.43-6.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(XSLoader) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(base) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(base) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(bytes) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(bytes) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(integer) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(lib) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(overload) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(overload) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(overload) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(overload) for package: perl-Getopt-Long-2.40-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(re) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-PathTools-3.40-5.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Scalar-List-Utils-1.27-248.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Carp-1.26-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Getopt-Long-2.40-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Socket-2.010-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-constant-1.27-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: 1:perl-parent-0.225-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-threads-shared-1.43-6.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: 1:perl-Pod-Escapes-1.04-283.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-File-Path-2.09-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Text-ParseWords-3.29-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Exporter-5.68-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Pod-Usage-1.63-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: perl-Time-Local-1.2300-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(strict) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(subs) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(utf8) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(vars) for package: 1:perl-parent-0.225-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-PathTools-3.40-5.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-podlators-2.5.1-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Storable-2.45-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(vars) for package: 1:perl-Pod-Escapes-1.04-283.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Getopt-Long-2.40-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-File-Path-2.09-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Pod-Usage-1.63-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Time-Local-1.2300-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-File-Temp-0.23.01-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(vars) for package: perl-constant-1.27-2.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-HTTP-Tiny-0.033-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-threads-shared-1.43-6.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-Carp-1.26-244.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-Exporter-5.68-3.el7.noarch
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-Filter-1.49-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-threads-1.87-4.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(warnings) for package: perl-Encode-2.51-7.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(warnings::register) for package: perl-Socket-2.010-3.el7.x86_64
virtualbox-iso: --> Processing Dependency: perl(warnings::register) for package: perl-constant-1.27-2.el7.noarch
virtualbox-iso: --> Running transaction check
virtualbox-iso: ---> Package glibc-headers.x86_64 0:2.17-55.el7 will be erased
virtualbox-iso: --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-55.el7.x86_64
virtualbox-iso: --> Processing Dependency: glibc-headers = 2.17-55.el7 for package: glibc-devel-2.17-55.el7.x86_64
virtualbox-iso: ---> Package perl-Carp.noarch 0:1.26-244.el7 will be erased
virtualbox-iso: ---> Package perl-Encode.x86_64 0:2.51-7.el7 will be erased
virtualbox-iso: ---> Package perl-Exporter.noarch 0:5.68-3.el7 will be erased
virtualbox-iso: ---> Package perl-File-Path.noarch 0:2.09-2.el7 will be erased
virtualbox-iso: ---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be erased
virtualbox-iso: ---> Package perl-Filter.x86_64 0:1.49-3.el7 will be erased
virtualbox-iso: ---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be erased
virtualbox-iso: ---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be erased
virtualbox-iso: ---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be erased
virtualbox-iso: ---> Package perl-Pod-Escapes.noarch 1:1.04-283.el7 will be erased
virtualbox-iso: ---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be erased
virtualbox-iso: ---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be erased
virtualbox-iso: ---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be erased
virtualbox-iso: ---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be erased
virtualbox-iso: ---> Package perl-Socket.x86_64 0:2.010-3.el7 will be erased
virtualbox-iso: ---> Package perl-Storable.x86_64 0:2.45-3.el7 will be erased
virtualbox-iso: ---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be erased
virtualbox-iso: ---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be erased
virtualbox-iso: ---> Package perl-constant.noarch 0:1.27-2.el7 will be erased
virtualbox-iso: ---> Package perl-libs.x86_64 4:5.16.3-283.el7 will be erased
virtualbox-iso: ---> Package perl-macros.x86_64 4:5.16.3-283.el7 will be erased
virtualbox-iso: ---> Package perl-parent.noarch 1:0.225-244.el7 will be erased
virtualbox-iso: ---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be erased
virtualbox-iso: ---> Package perl-threads.x86_64 0:1.87-4.el7 will be erased
virtualbox-iso: ---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be erased
virtualbox-iso: --> Running transaction check
virtualbox-iso: ---> Package glibc-devel.x86_64 0:2.17-55.el7 will be erased
virtualbox-iso: --> Finished Dependency Resolution
virtualbox-iso:
virtualbox-iso: Dependencies Resolved
virtualbox-iso:
virtualbox-iso: ========================================
virtualbox-iso: Package
virtualbox-iso: Arch Version Repository
virtualbox-iso: Size
virtualbox-iso: ========================================
virtualbox-iso: Removing:
virtualbox-iso: cpp
virtualbox-iso: x86_64 4.8.2-16.el7 @anaconda 15 M
virtualbox-iso: gcc
virtualbox-iso: x86_64 4.8.2-16.el7 @anaconda 37 M
virtualbox-iso: kernel-devel
virtualbox-iso: x86_64 3.10.0-123.el7
virtualbox-iso: @anaconda 31 M
virtualbox-iso: kernel-headers
virtualbox-iso: x86_64 3.10.0-123.el7
virtualbox-iso: @anaconda 3.1 M
virtualbox-iso: perl
virtualbox-iso: x86_64 4:5.16.3-283.el7
virtualbox-iso: @anaconda 22 M
virtualbox-iso: Removing for dependencies:
virtualbox-iso: glibc-devel
virtualbox-iso: x86_64 2.17-55.el7 @anaconda 1.0 M
virtualbox-iso: glibc-headers
virtualbox-iso: x86_64 2.17-55.el7 @anaconda 2.2 M
virtualbox-iso: perl-Carp
virtualbox-iso: noarch 1.26-244.el7 @anaconda 28 k
virtualbox-iso: perl-Encode
virtualbox-iso: x86_64 2.51-7.el7 @anaconda 9.7 M
virtualbox-iso: perl-Exporter
virtualbox-iso: noarch 5.68-3.el7 @anaconda 55 k
virtualbox-iso: perl-File-Path
virtualbox-iso: noarch 2.09-2.el7 @anaconda 49 k
virtualbox-iso: perl-File-Temp
virtualbox-iso: noarch 0.23.01-3.el7 @anaconda 155 k
virtualbox-iso: perl-Filter
virtualbox-iso: x86_64 1.49-3.el7 @anaconda 145 k
virtualbox-iso: perl-Getopt-Long
virtualbox-iso: noarch 2.40-2.el7 @anaconda 132 k
virtualbox-iso: perl-HTTP-Tiny
virtualbox-iso: noarch 0.033-3.el7 @anaconda 95 k
virtualbox-iso: perl-PathTools
virtualbox-iso: x86_64 3.40-5.el7 @anaconda 170 k
virtualbox-iso: perl-Pod-Escapes
virtualbox-iso: noarch 1:1.04-283.el7
virtualbox-iso: @anaconda 21 k
virtualbox-iso: perl-Pod-Perldoc
virtualbox-iso: noarch 3.20-4.el7 @anaconda 163 k
virtualbox-iso: perl-Pod-Simple
virtualbox-iso: noarch 1:3.28-4.el7 @anaconda 526 k
virtualbox-iso: perl-Pod-Usage
virtualbox-iso: noarch 1.63-3.el7 @anaconda 44 k
virtualbox-iso: perl-Scalar-List-Utils
virtualbox-iso: x86_64 1.27-248.el7 @anaconda 66 k
virtualbox-iso: perl-Socket
virtualbox-iso: x86_64 2.010-3.el7 @anaconda 112 k
virtualbox-iso: perl-Storable
virtualbox-iso: x86_64 2.45-3.el7 @anaconda 177 k
virtualbox-iso: perl-Text-ParseWords
virtualbox-iso: noarch 3.29-4.el7 @anaconda 16 k
virtualbox-iso: perl-Time-Local
virtualbox-iso: noarch 1.2300-2.el7 @anaconda 43 k
virtualbox-iso: perl-constant
virtualbox-iso: noarch 1.27-2.el7 @anaconda 26 k
virtualbox-iso: perl-libs
virtualbox-iso: x86_64 4:5.16.3-283.el7
virtualbox-iso: @anaconda 1.6 M
virtualbox-iso: perl-macros
virtualbox-iso: x86_64 4:5.16.3-283.el7
virtualbox-iso: @anaconda 5.0 k
virtualbox-iso: perl-parent
virtualbox-iso: noarch 1:0.225-244.el7
virtualbox-iso: @anaconda 8.0 k
virtualbox-iso: perl-podlators
virtualbox-iso: noarch 2.5.1-3.el7 @anaconda 281 k
virtualbox-iso: perl-threads
virtualbox-iso: x86_64 1.87-4.el7 @anaconda 96 k
virtualbox-iso: perl-threads-shared
virtualbox-iso: x86_64 1.43-6.el7 @anaconda 72 k
virtualbox-iso:
virtualbox-iso: Transaction Summary
virtualbox-iso: ========================================
virtualbox-iso: Remove 5 Packages (+27 Dependent packages)
virtualbox-iso:
virtualbox-iso: Installed size: 126 M
virtualbox-iso: Downloading packages:
virtualbox-iso: Running transaction check
virtualbox-iso: Running transaction test
virtualbox-iso: Transaction test succeeded
virtualbox-iso: Running transaction
virtualbox-iso: Erasing : gcc-4.8.2-16.el7 1/32
virtualbox-iso: Erasing : glibc-devel-2.17 2/32
virtualbox-iso: Erasing : glibc-headers-2. 3/32
virtualbox-iso: Erasing : kernel-devel-3.1 4/32
virtualbox-iso: Erasing : kernel-headers-3 5/32
virtualbox-iso: Erasing : perl-Filter-1.49 6/32
virtualbox-iso: Erasing : perl-File-Path-2 7/32
virtualbox-iso: Erasing : perl-File-Temp-0 8/32
virtualbox-iso: Erasing : perl-Encode-2.51 9/32
virtualbox-iso: Erasing : perl-PathTools-3 10/32
virtualbox-iso: Erasing : perl-podlators-2 11/32
virtualbox-iso: Erasing : 1:perl-parent-0. 12/32
virtualbox-iso: Erasing : perl-Pod-Perldoc 13/32
virtualbox-iso: Erasing : perl-HTTP-Tiny-0 14/32
virtualbox-iso: Erasing : perl-Pod-Usage-1 15/32
virtualbox-iso: Erasing : perl-Text-ParseW 16/32
virtualbox-iso: Erasing : perl-Getopt-Long 17/32
virtualbox-iso: Erasing : 1:perl-Pod-Escap 18/32
virtualbox-iso: Erasing : 1:perl-Pod-Simpl 19/32
virtualbox-iso: Erasing : perl-Socket-2.01 20/32
virtualbox-iso: Erasing : perl-Storable-2. 21/32
virtualbox-iso: Erasing : perl-Time-Local- 22/32
virtualbox-iso: Erasing : perl-constant-1. 23/32
virtualbox-iso: Erasing : perl-Scalar-List 24/32
virtualbox-iso: Erasing : perl-Exporter-5. 25/32
virtualbox-iso: Erasing : perl-Carp-1.26-2 26/32
virtualbox-iso: Erasing : perl-threads-1.8 27/32
virtualbox-iso: Erasing : perl-threads-sha 28/32
virtualbox-iso: Erasing : 4:perl-libs-5.16 29/32
virtualbox-iso: Erasing : 4:perl-macros-5. 30/32
virtualbox-iso: Erasing : 4:perl-5.16.3-28 31/32
virtualbox-iso: Erasing : cpp-4.8.2-16.el7 32/32
virtualbox-iso: Verifying : perl-HTTP-Tiny-0 1/32
virtualbox-iso: Verifying : perl-threads-sha 2/32
virtualbox-iso: Verifying : perl-Storable-2. 3/32
virtualbox-iso: Verifying : glibc-headers-2. 4/32
virtualbox-iso: Verifying : perl-Exporter-5. 5/32
virtualbox-iso: Verifying : perl-constant-1. 6/32
virtualbox-iso: Verifying : perl-PathTools-3 7/32
virtualbox-iso: Verifying : 1:perl-Pod-Escap 8/32
virtualbox-iso: Verifying : 1:perl-parent-0. 9/32
virtualbox-iso: Verifying : 4:perl-libs-5.16 10/32
virtualbox-iso: Verifying : perl-File-Temp-0 11/32
virtualbox-iso: Verifying : 1:perl-Pod-Simpl 12/32
virtualbox-iso: Verifying : perl-Time-Local- 13/32
virtualbox-iso: Verifying : perl-Pod-Perldoc 14/32
virtualbox-iso: Verifying : gcc-4.8.2-16.el7 15/32
virtualbox-iso: Verifying : perl-Socket-2.01 16/32
virtualbox-iso: Verifying : 4:perl-macros-5. 17/32
virtualbox-iso: Verifying : 4:perl-5.16.3-28 18/32
virtualbox-iso: Verifying : perl-Carp-1.26-2 19/32
virtualbox-iso: Verifying : kernel-devel-3.1 20/32
virtualbox-iso: Verifying : perl-Scalar-List 21/32
virtualbox-iso: Verifying : kernel-headers-3 22/32
virtualbox-iso: Verifying : perl-Pod-Usage-1 23/32
virtualbox-iso: Verifying : cpp-4.8.2-16.el7 24/32
virtualbox-iso: Verifying : perl-Encode-2.51 25/32
virtualbox-iso: Verifying : glibc-devel-2.17 26/32
virtualbox-iso: Verifying : perl-podlators-2 27/32
virtualbox-iso: Verifying : perl-Getopt-Long 28/32
virtualbox-iso: Verifying : perl-File-Path-2 29/32
virtualbox-iso: Verifying : perl-threads-1.8 30/32
virtualbox-iso: Verifying : perl-Filter-1.49 31/32
virtualbox-iso: Verifying : perl-Text-ParseW 32/32
virtualbox-iso:
virtualbox-iso: Removed:
virtualbox-iso: cpp.x86_64 0:4.8.2-16.el7
virtualbox-iso: gcc.x86_64 0:4.8.2-16.el7
virtualbox-iso: kernel-devel.x86_64 0:3.10.0-123.el7
virtualbox-iso: kernel-headers.x86_64 0:3.10.0-123.el7
virtualbox-iso: perl.x86_64 4:5.16.3-283.el7
virtualbox-iso:
virtualbox-iso: Dependency Removed:
virtualbox-iso: glibc-devel.x86_64 0:2.17-55.el7
virtualbox-iso: glibc-headers.x86_64 0:2.17-55.el7
virtualbox-iso: perl-Carp.noarch 0:1.26-244.el7
virtualbox-iso: perl-Encode.x86_64 0:2.51-7.el7
virtualbox-iso: perl-Exporter.noarch 0:5.68-3.el7
virtualbox-iso: perl-File-Path.noarch 0:2.09-2.el7
virtualbox-iso: perl-File-Temp.noarch 0:0.23.01-3.el7
virtualbox-iso: perl-Filter.x86_64 0:1.49-3.el7
virtualbox-iso: perl-Getopt-Long.noarch 0:2.40-2.el7
virtualbox-iso: perl-HTTP-Tiny.noarch 0:0.033-3.el7
virtualbox-iso: perl-PathTools.x86_64 0:3.40-5.el7
virtualbox-iso: perl-Pod-Escapes.noarch 1:1.04-283.el7
virtualbox-iso: perl-Pod-Perldoc.noarch 0:3.20-4.el7
virtualbox-iso: perl-Pod-Simple.noarch 1:3.28-4.el7
virtualbox-iso: perl-Pod-Usage.noarch 0:1.63-3.el7
virtualbox-iso: perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
virtualbox-iso: perl-Socket.x86_64 0:2.010-3.el7
virtualbox-iso: perl-Storable.x86_64 0:2.45-3.el7
virtualbox-iso: perl-Text-ParseWords.noarch 0:3.29-4.el7
virtualbox-iso: perl-Time-Local.noarch 0:1.2300-2.el7
virtualbox-iso: perl-constant.noarch 0:1.27-2.el7
virtualbox-iso: perl-libs.x86_64 4:5.16.3-283.el7
virtualbox-iso: perl-macros.x86_64 4:5.16.3-283.el7
virtualbox-iso: perl-parent.noarch 1:0.225-244.el7
virtualbox-iso: perl-podlators.noarch 0:2.5.1-3.el7
virtualbox-iso: perl-threads.x86_64 0:1.87-4.el7
virtualbox-iso: perl-threads-shared.x86_64 0:1.43-6.el7
virtualbox-iso:
virtualbox-iso: Complete!
virtualbox-iso: Loaded plugins: fastestmirror
virtualbox-iso: Cleaning repos: base extras updates
virtualbox-iso: Cleaning up everything
==> virtualbox-iso: Provisioning with shell script: scripts/common/minimize.sh
virtualbox-iso: dd: error writing ‘/EMPTY’: No space left on device
virtualbox-iso: 38557+0 records in
virtualbox-iso: 38556+0 records out
virtualbox-iso: 40428924928 bytes (40 GB) copied, 99.9718 s, 404 MB/s
==> virtualbox-iso: Gracefully halting virtual machine...
==> virtualbox-iso: Preparing to export machine...
virtualbox-iso: Deleting forwarded port mapping for SSH (host port 3256)
==> virtualbox-iso: Exporting virtual machine...
virtualbox-iso: Executing: export packer-centos-7.0-x86_64 --output packer-centos-7.0-x86_64-virtualbox/packer-centos-7.0-x86_64.ovf
==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Running post-processor: vagrant
==> virtualbox-iso (vagrant): Creating Vagrant box for 'virtualbox' provider
virtualbox-iso (vagrant): Copying from artifact: packer-centos-7.0-x86_64-virtualbox/packer-centos-7.0-x86_64-disk1.vmdk
virtualbox-iso (vagrant): Copying from artifact: packer-centos-7.0-x86_64-virtualbox/packer-centos-7.0-x86_64.ovf
virtualbox-iso (vagrant): Renaming the OVF to box.ovf...
virtualbox-iso (vagrant): Compressing: Vagrantfile
virtualbox-iso (vagrant): Compressing: box.ovf
virtualbox-iso (vagrant): Compressing: metadata.json
virtualbox-iso (vagrant): Compressing: packer-centos-7.0-x86_64-disk1.vmdk
Build 'virtualbox-iso' finished.

add Oracle Linux templates

We should add some templates for Oracle Linux. This should be trivial since it's basically a rebadging of RHEL.

Deploy all those boxes to vagrant cloud

It will be much easier to use those boxes if all the boxes here we're uploaded to vagrant cloud.
I can create a simple script to do that if you want me to.

move single-request-reopen from ks.cfg

PR#165 added single-request-reopen to the CentOS /etc/resolv.conf. However before I merged this I didn't realize that it's only supported on CentOS 6.x; therefore it should be moved into something a little more specific to the distro (postinstall script?)

Importing opscode-centos-6.4 fails with virtualbox error

The Chef provided opscode-centos-6.4 box no longer imports cleanly into virtual box:

sdanna@thrace ~/src/cookbooks/logrotate (master) > kitchen test centos
-----> Starting Kitchen (v1.2.1)
-----> Cleaning up any prior instances of <default-centos-64>
-----> Destroying <default-centos-64>...
       Finished destroying <default-centos-64> (0m0.00s).
-----> Testing <default-centos-64>
-----> Creating <default-centos-64>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Box 'opscode-centos-6.4' could not be found. Attempting to find and install...
           default: Box Provider: virtualbox
           default: Box Version: >= 0
       ==> default: Adding box 'opscode-centos-6.4' (v0) for provider: virtualbox
           default: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.4_chef-provisionerless.box
       ==> default: Successfully added box 'opscode-centos-6.4' (v0) for 'virtualbox'!
       ==> default: Importing base box 'opscode-centos-6.4'...
Progress: 90%>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider=virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'opscode-centos-6.4' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'opscode-centos-6.4' (v0) for provider: virtualbox
    default: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.4_chef-provisionerless.box
==> default: Successfully added box 'opscode-centos-6.4' (v0) for 'virtualbox'!
==> default: Importing base box 'opscode-centos-6.4'...
Progress: 90%
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/Users/sdanna/.vagrant.d/boxes/opscode-centos-6.4/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "packer-virtualbox_1410420405175_19550", "--vsys", "0", "--unit", "8", "--disk", "/Users/sdanna/Virtua
lBox VMs/packer-virtualbox_1410420405175_19550/packer-virtualbox-disk1.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/sdanna/.vagrant.d/boxes/opscode-centos-6.4/0/virtualbox/box.ovf...
OK.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Appliance import failed
VBoxManage: error: <vbox:Machine> element in OVF contains a medium attachment for the disk image 6bd4390b-bd73-42a2-9526-0e34a8be8779 but the OVF describes no such image
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 781 of file VBoxManageAppliance.cpp
---- End output of vagrant up --no-provision --provider=virtualbox ----
Ran vagrant up --no-provision --provider=virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

error processing drive

error11

Hi All
I am am trying to setup a CentOS6.5 box. I am trying to use the centos65.json to do this.
But I get this error(pls see attachment) As a result I am unable to get past the disk init stage.
Any idea on how to fix this ?

Thanks
smod

Unable to provision a fedora-19 machine with private-network

I'm using test-kitchen to bring up a fedora-19 node. My .kitchen.yml looks like this

---
driver:
  name: vagrant

provisioner:
  name: chef_solo

platforms:
  - name: fedora
    driver_config:
      require_chef_omnibus: true
      box: fedora-19
      box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-19_chef-provisionerless.box
      customize:
        memory: 20484
        cpus: 2

suites:
  - name: default
    driver_config:
      network:
        - ["private_network", {ip: "33.33.33.10"}]
    run_list:
      - recipe[openshift::default]
    attributes:

and i get this error:

>>>>>> ------Exception-------                                                                                                           [6/993]
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider=virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'fedora-19'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: default-fedora_default_1395436395353_5309
==> 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 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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
    default: Error: Connection timout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/ifup p7p1 2> /dev/null

Stdout from the command:

ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device p7p1 does not seem to be present, delaying initialization.


Stderr from the command:
---- End output of vagrant up --no-provision --provider=virtualbox ----
Ran vagrant up --no-provision --provider=virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

If i remove this block from the .kitchen.yml

    driver_config:
      network:
        - ["private_network", {ip: "33.33.33.10"}]

everything works fine.

Bug with minimize.sh (Ubuntu 14.04 amd64)

This is normal behavior or a bug yet?

==> virtualbox: Provisioning with shell script: scripts/minimize.sh
    virtualbox: dd: error writing `/EMPTY': No space left on device
    virtualbox: 3345+0 records in
    virtualbox: 3344+0 records out
    virtualbox: 3506683904 bytes (3.5 GB) copied, 22.9182 s, 160 MB/s

script:

#!/bin/sh -eux

dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
# Block until the empty file has been removed, otherwise, Packer
# will try to kill the box while the disk is still full and that's bad
sync
sync
sync

Debian 7.4 64bit

I have this problem

default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...

when I use the debian 7.4 built box.

add more swap

oracle xe needs at least 256M of memory and 2G of virtual memory to install, perhaps the default swap on boxes created from this could be at 2G for this reason (specific issue is with centos-6.5)

Ubuntu 14.04.1

Sorry in advanced, I'm fairly new to packer and just found out about bento!

I was wondering what needs to be done in order to get Ubuntu updated to 14.04? Is there anything I can contribute to make this happen?

sudo with SSH agent forwarding

Please consider enabling SSH agent forwarding in the default sudoers file for Ubuntu

Defaults      env_keep += "SSH_AUTH_SOCK"

At least in Ubuntu, the default sudoers file resets all environment variables, which breaks recipies that must clone private repositories.

In my case for example, some of my recipes must clone private repos for which the ssh key is never in the server, but on the administrator client machine. During the first run I must prioritize updating the sudoers file to enable ssh agent forwarding before the first cloned repo breaks the chef-client run. The second chef-client run will get the new sudoers settings and clone successfully.

FreeBSD 9.3 (amd64) box broken

Bringing up a 9.3 bento from the link in the README results in a box that seems to hang around loading nfsd and then reboots itself forever

Example of establishing SSH keys

Hey these definitions are great! One thing I'm trying to figure out is how to properly place a public key in the ~/.ssh/ folder, which I believe is typically done in the preseed.cfg file. This is done for public vagrant base boxes and it would be really awesome to be able to replicate this behavior for my own dev boxes too. Any chance you could post a Packer definition that successfully sets this up?

Ubuntu sudoers file only allows to run as root

Please change bento/packer/scripts/ubuntu/sudoers.sh to:
%sudo ALL=(ALL) NOPASSWD:ALL

This makes it possible to run as users other than root, which is useful with ansible's sudo_user directive.

rename box prefixes to bento- instead of opscode-

  • Opscode is now Chef Software
  • Since these boxes are used by and for other purposes than Chef, rather than putting the company name in there, we should change the prefix to 'bento-'
  • Rebuild and publish all boxes
  • Coordinate with Fletcher Nichol to update test-kitchen URLs
  • Stretch goal: Get Chef Ops to put Cloudfront in front of the S3 bucket, to speed up downloads

VMware boxes claim to be built on VMware Fusion, but report VMware Desktop

See here:

$ vagrant box add --provider vmware_fusion opscode_ubuntu-12.04_chef-provisionerless http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-12.04_chef-provisionerless.box
==> box: Adding box 'opscode_ubuntu-12.04_chef-provisionerless' (v0) for provider: vmware_fusion
    box: Downloading: http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-12.04_chef-provisionerless.box
The box you attempted to add doesn't match the provider you specified.

Provider expected: vmware_fusion
Provider of box: vmware_desktop

Upload rhel-6.5 box to bento AWS repo

**** This is not an issue!!! ***

I would like to help uploading the RHEL-6.5 box to https://opscode-vm-bento.s3.amazonaws.com/...

Who owns the creds?

Virtualbox and debian-7.4: cannot download preseed.cfg

Hi,

I am trying to build a Vagrant box for both VMWare and VirtualBox on a mac using the debian-7.4-amd64.json packer file.

For VMWare it works fine. But when doing it for VirtualBox, I get an error that it's not able to download the preseed.cfg file from http://10.0.2.2:8081/debian-7/preseed.cfg.

I've noticed that in the case of VMWare, the http server is started on 172.16.178.1:8728 whereas for VirtualBox is 10.0.2.2:8081. As I mentioned earlier, the VMWare scenario works.

Any ideas why I get this issue with VirtualBox? Is there some configuration I need to do in order to have it working?

BTW, my local network is 192.168.1.x.

Thanks!

S.

virtualbox - opscode_ubuntu-1204_chef-provisionerless.box 404

-----> Starting Kitchen (v1.2.2.dev)
-----> Cleaning up any prior instances of <checkout-ubuntu-1204>
-----> Destroying <checkout-ubuntu-1204>...
       Finished destroying <checkout-ubuntu-1204> (0m0.00s).
-----> Testing <checkout-ubuntu-1204>
-----> Creating <checkout-ubuntu-1204>...
       Bringing machine 'default' up with 'virtualbox' provider...
       [default] Box 'opscode-ubuntu-1204' was not found. Fetching box from specified URL for
       the provider 'virtualbox'. Note that if the URL does not have
       a box for this provider, you should interrupt Vagrant now and add
       the box yourself. Otherwise Vagrant will attempt to download the
       full box prior to discovering this error.
       Downloading box from URL: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-1204_chef-provisionerless.box
>>>>>> ------Exception-------mated time remaining: --:--:--)
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider=virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'opscode-ubuntu-1204' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-1204_chef-provisionerless.box
Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)
STDERR: Download failed. Will try another box URL if there is one.
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 404 Not Found
---- End output of vagrant up --no-provision --provider=virtualbox ----
Ran vagrant up --no-provision --provider=virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.