minor fixes and documentation
[automated-distro-installer] / live-kexec
index fd4bf6fa924658c55b2773c0241a27148d85ecaf..651dad7bcf1424f00ccbfd42a4bfd7a25b07c427 100644 (file)
@@ -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