Skip to content

Instantly share code, notes, and snippets.

@akpoff
Last active January 3, 2018 15:39
Show Gist options
  • Save akpoff/9fb51f6ea514b8cae2977c44e595f53f to your computer and use it in GitHub Desktop.
Save akpoff/9fb51f6ea514b8cae2977c44e595f53f to your computer and use it in GitHub Desktop.
Replace Linux with OpenBSD
#!/bin/sh
# For folks who will type `curl $URL | bash` without considering the consequences.
# A quick way to install OpenBSD
# BTW, I haven't tested this
echo "apt-get install curl && curl -L http://ftp.openbsd.org/pub/OpenBSD/6.2/`uname -m`/install62.fs | dd of=/dev/sda && shutdown -r"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment