X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=live-kexec;h=3baf2bb66cca2ac2e54289a8355825271f70f4d9;hp=fd4bf6fa924658c55b2773c0241a27148d85ecaf;hb=HEAD;hpb=0a2a4d11ef323da19d0cebe2f5ec7b1be7bd15bc diff --git a/live-kexec b/live-kexec deleted file mode 100644 index fd4bf6f..0000000 --- a/live-kexec +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# -# You can copy this to a http server, then wget -O- url|sudo bash -# or curl|bash, if curl is installed. -# -# This has been tested on trisquel belanos and ubuntu xenial. -# -# If the screen just sits in a weird color inverted, corrupted looking state, -# it's probably nothing wrong with the computer, but a problem -# with the fai server. If you can do this from a virtual terminal, -# it will print out more info (I know from running it on a vm). - -set -ex -if grep -q ID=ubuntu /etc/os-release; then - sed -ri '/^\s*deb/{/universe/!s/$/ universe/}' /etc/apt/sources.list -fi -if ! type -p pxe-kexec &>/dev/null; then - apt-get update - apt-get install -y debconf - debconf-set-selections <