X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=live-kexec;h=651dad7bcf1424f00ccbfd42a4bfd7a25b07c427;hb=cf778f7a65037a2a54e2b6008511f0a584326ce9;hp=fd4bf6fa924658c55b2773c0241a27148d85ecaf;hpb=0a2a4d11ef323da19d0cebe2f5ec7b1be7bd15bc;p=automated-distro-installer diff --git a/live-kexec b/live-kexec index fd4bf6f..651dad7 100644 --- a/live-kexec +++ b/live-kexec @@ -1,7 +1,8 @@ #!/bin/bash # +# fai kexec from upstream live cds, i.e. curl|bash # You can copy this to a http server, then wget -O- url|sudo bash -# or curl|bash, if curl is installed. +# curl is sometimes not preinstalled on a live cd. # # This has been tested on trisquel belanos and ubuntu xenial. # @@ -12,6 +13,7 @@ set -ex if grep -q ID=ubuntu /etc/os-release; then + # add universe, pxe-kexec is there sed -ri '/^\s*deb/{/universe/!s/$/ universe/}' /etc/apt/sources.list fi if ! type -p pxe-kexec &>/dev/null; then