An other Vagrant box with Devstack and Ubuntu 14.04

Like Sean Dague I really like Vagrant and created a box with Ubuntu 14.04 and Devstack a few days ago. The box is available for use with VirtualBox on the Vagrant Cloud. The used Vagrantfile and Puppet manifest is available on Github in the repository berendt/vagrant-devstack. Hava a look in the used local.conf for enabled services and available images.

To use the prepared box simply install Vagrant and fetch the box with vagrant box add berendt/devstack-ubuntu-14.04-amd64. Now you can use the box with the following Vagrantfile. After typing vagrant up the start of the box will take appr. 10 minutes. Afterwards you can login with vagrant ssh. The dashboard is available at http://localhost:8080/. Add to /etc/hosts to be able to use the VNC sessions.


Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "berendt/devstack-ubuntu-14.04-amd64" "forwarded_port", guest: 80, host: 8080, host_ip: "" "forwarded_port", guest: 6080, host: 6080, host_ip: ""

  config.vm.provider "virtualbox" do |vb|
      vb.customize ["modifyvm", :id, "--memory", "16384"]
      vb.customize ["modifyvm", :id, "--cpus", "8"]

  config.vm.provision "shell", privileged: false, inline: "/home/vagrant/devstack/"


Alpine Linux 2.7.5 Vagrant box

Just created and uploaded an Alpine Linux 2.7.5 Vagrant box to the Vagrant cloud. The box is available as berendt/alpine-2.7.5-amd64. The used template is available on Github at berendt/packer.

Shared folders are not working because I have not included the Virtualbox Guest additions. To avoid errors during the start add config.vm.synced_folder "", "/vagrant", disabled: true into your Vagrantfile.

Concat MP3 files

ffmpeg -i "concat:file1.mp3|file2.mp3|file3.mp3" -acodec copy output.mp3

The metadata of the first file will be used for output.mp3. The metadata of MP3 files can be extracted: ffmpeg -i file1.mp3 -f ffmetadata metadata. To use the extracted metadata add the parameters -map_metadata METADATA_FILENAME and -i metadata (e.g. ... -i metadata -acodec copy -map_metadata 1 ....