X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=live-kexec;h=5bd5833d158363576beaf82744012334dbf79615;hb=645ab36988f8eed2e85d066bdf1ad8a12e7aabc0;hp=fd4bf6fa924658c55b2773c0241a27148d85ecaf;hpb=0a2a4d11ef323da19d0cebe2f5ec7b1be7bd15bc;p=automated-distro-installer diff --git a/live-kexec b/live-kexec index fd4bf6f..5bd5833 100644 --- a/live-kexec +++ b/live-kexec @@ -1,17 +1,45 @@ #!/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). +# Copyright (C) 2016 Ian Kelling + +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +usage() { + cat </dev/null; then @@ -22,7 +50,7 @@ kexec-tools kexec-tools/load_kexec boolean false EOF apt-get install -y pxe-kexec fi -# running this piped to bash on belanos, the apt-get goes +# running this piped to bash on belenos, the apt-get goes # into the background while it's still installing, and pxe-kexec # just exits right away. sleep calls are strangely ignored. # I don't know whats going on, but just running the same