Skip to content

Instantly share code, notes, and snippets.

View jzb's full-sized avatar
🤔
Planning

Joe Brockmeier jzb

🤔
Planning
View GitHub Profile
@jasonbrooks
jasonbrooks / vagrant-disk-atomic.md
Last active August 29, 2015 14:17
adding a disk to fedora atomic vagrantfile

For vagrant-libvirt, the second disk can be added w/ libvirt.storage :file, :size => '5G'.

To make use of this disk, we can use docker-storage-setup, as described in http://www.projectatomic.io/docs/docker-storage-recommendation.

The lines in the config.vm.provision section below add DEVS="/dev/vdb" to /etc/sysconfig/docker-storage-setup. The commented-out line is supposed to run docker-storage-setup to set up the storage, but this isn't working when run from the Vagrantfile here. Once logged in to the vagrant VM, however, running sudo docker-storage-setup works as expected, except for a syntax error with part of the setup script which doesn't appear to stop the script from doing its job.

Vagrant.configure("2") do |config|

 config.vm.box = "f22atomic"
@sogrady
sogrady / gist:950800
Created May 1, 2011 19:45
How to Recreate My Linux Desktop
  • Install Ubuntu

    This isn't an endorsement of all of Canonical's design decisions, nor their community relations approach, but rather a recognition that as much as I'd like to like Fedora, it's just that much more difficult to use that I've never been able to make the jump. SuSE, meanwhile, lacks the same visibility with third party packagers, so it's out. I even contemplated an OS X switch recently, but I just can't justify replacing the hardware I have with Apple kit, which I'd have to do (I looked into the Hackintosh compatibility: no joy).

    So Ubuntu remains the best option for me. Your mileage may vary, obviously.

  • Install Dropbox

Everything important to me is in Dropbox. Files, music and movies, yes, but also my emacs config, my bash aliases, my non-packaged applications - everything. So it's the first thing I install. Because it would take days to reload everything from the network, however, I usually manually rsync the Dropbox directory to an external hard drive, then reverse the proces