Skip to content

Instantly share code, notes, and snippets.

@v6
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v6/2c8f6d3e97d3d0a32b82 to your computer and use it in GitHub Desktop.
Save v6/2c8f6d3e97d3d0a32b82 to your computer and use it in GitHub Desktop.
Try Funtoo!
!#/bin/python3
# It's like http://www.funtoo.org/VagrantUp, but shorter:
# First, install vagrant from vagrantup.com.
# Then, install Python3, by choosing whichever button looks biggest and brightest and has "Python 3" in it from here: https://www.python.org/downloads/
# No, they don't make it easy, but remember, I *believe* in you.†
import os
import invoke
print ("maek with teh vagruntzingz!!!!! kaptunk!!!")
os.system("pip install invoke==dev")
invoke ("vagrant init lxmx_funtoo-201306 https://lxmx-vm.s3.amazonaws.com/vagrant/boxes/lxmx_funtoo-2013.06_chef-11.4.4.box")
invoke ("vagrant up")
invoke ("vagrant ssh")
exit()
# You should now see a message like this:
# Last login: Wed Aug 12 08:45:03 UTC 2015 from 10.0.2.2 on ssh
# >>> Release: stage3-generic_64-funtoo-current-2013-06-07
# >>> Version: 2013-06-07
# >>> Created by: Daniel Robbins <drobbins@funtoo.org>
#
# >>> Send suggestions, improvements, bug reports relating to...
# >>> This release: Daniel Robbins <drobbins@funtoo.org>
# >>> Funtoo Linux (general): Funtoo Linux (http://www.funtoo.org)
# >>> Gentoo Linux (general): Gentoo Linux (http://www.gentoo.org)
#
# NOTE: This message can be removed by deleting /etc/motd.
# †"Believe in" may or may not be a euphemism for "spite". But seriously, these things reward a little persistence and modern character.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment