Skip to content

Instantly share code, notes, and snippets.

View ianmiell's full-sized avatar

Ian Miell ianmiell

View GitHub Profile
@ianmiell
ianmiell / gist:4fa6e0a7c940c659aa79
Last active August 29, 2015 14:12
Commands To Get From debian:jessie to an Automated Linux From Scratch Artifact
export SHUTIT_BACKUP_PS1_real_user_prompt=$PS1 && PS1='SHUTIT_REAL_USER#ZHfHa955>' && unset PROMPT_COMMAND && stty cols 320
export SHUTIT_BACKUP_PS1_pre_build=$PS1 && PS1='SHUTIT_PRE_BUILD#Qjv4HMML>' && unset PROMPT_COMMAND && stty cols 320
cat /etc/issue | grep -i "red hat" | wc -l
cat /etc/issue | grep -i "shutit" | wc -l
cat /etc/issue | grep -i "fedora" | wc -l
cat /etc/issue | grep -i "centos" | wc -l
cat /etc/issue | grep -i "steamos" | wc -l
cat /etc/issue | grep -i "ubuntu" | wc -l
cat /etc/issue | grep -i "debian" | wc -l
apt-get update
@ianmiell
ianmiell / gist:947ff3fabc44ace617c6
Last active August 29, 2015 14:01
Steps to create your own shutit server
apt-get install git python-bottle docker.io python-pexpect python-cherrypy3
git clone https://github.com/ianmiell/shutit.git && cd shutit
./shutit serve -m library