clean up /proc/cmdline with dracut and allow dracut to boot with secure mode to fix #1261
This commit is contained in:
committed by
Jonathon Anderson
parent
2b82c2074a
commit
d62743ee11
@@ -8,6 +8,8 @@ do
|
||||
if [ -n "${archive}" ]
|
||||
then
|
||||
info "Loading ${archive}"
|
||||
(curl --silent -L "${archive}" | gzip -d | cpio -im --directory="${NEWROOT}") || die "Unable to load ${archive}"
|
||||
#Load only runtime overlays from a static privledge port
|
||||
[[ "$archive" == *"runtime"* ]] && localport="--local-port 986" || localport=""
|
||||
(curl --silent $localport -L "${archive}" | gzip -d | cpio -im --directory="${NEWROOT}") || die "Unable to load ${archive}"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user