Last active
March 20, 2016 17:37
-
-
Save displague/fdd3bcff6b6df92ac2ec to your computer and use it in GitHub Desktop.
thoughts on fetching / installing box image for linode in a single blind boot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api create - single disk - minimal% (debian) | |
boot | |
lish # (maybe ssh?) | |
mkdir -p /newroot/oldroot | |
apt-get install -y debootstrap | |
debootstrap jessie /newroot http://mirrors.linode.com/debian | |
pivot_root / switch_root / systemctl switch-root /newroot | |
umount oldroot/{dev/{pts,shm,},proc,sys,} oldroot | |
... | |
loss of console? loss of root password? | |
... | |
wget / curl url | dd if=- of=/dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment