Skip to content

Instantly share code, notes, and snippets.

View memoryleak's full-sized avatar

Haydar Ciftci memoryleak

View GitHub Profile
@memoryleak
memoryleak / gist:3435cac8b9d0a4499b470a49c640eb1f
Created May 28, 2016 20:13 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
@memoryleak
memoryleak / vagrant-clean.sh
Last active March 17, 2016 14:39 — forked from jdowning/vagrant-clean.sh
Script to clean up Centos Vagrant box before packaging
#!/bin/bash
# Run the following command in a root shell:
#
# bash <(curl -s RAW_URL)
function print_green {
echo -e "\e[32m${1}\e[0m"
}