X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=live-kexec;h=5bd5833d158363576beaf82744012334dbf79615;hb=d29d21017de635db1d05769144db56f44addd055;hp=10975a8f223790a4499a558ceacf58f869616ae6;hpb=e729557712e9355ffa9103e6083d1161d5fd6063;p=automated-distro-installer diff --git a/live-kexec b/live-kexec index 10975a8..5bd5833 100644 --- a/live-kexec +++ b/live-kexec @@ -1,26 +1,59 @@ #!/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 + apt-get update + apt-get install -y debconf + debconf-set-selections <