mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Use the kernel cmdline elide patch to load config into RancherOS that isn't visible in /pro/cmdline
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -29,6 +29,10 @@ while [ "$#" -gt 0 ]; do
|
||||
shift 1
|
||||
QEMU_APPEND="${QEMU_APPEND} $1"
|
||||
;;
|
||||
--append-init)
|
||||
shift 1
|
||||
APPEND_INIT="${APPEND_INIT} $1"
|
||||
;;
|
||||
--memory)
|
||||
shift 1
|
||||
MEMORY="$1"
|
||||
@@ -125,6 +129,9 @@ fi
|
||||
if [ "$RM_USR" == "1" ]; then
|
||||
KERNEL_ARGS="${KERNEL_ARGS} rancher.rm_usr"
|
||||
fi
|
||||
if [ "$APPEND_INIT" != "" ]; then
|
||||
KERNEL_ARGS="${KERNEL_ARGS} -- ${APPEND_INIT}"
|
||||
fi
|
||||
|
||||
if [ "$BOOT_PXE" == "1" ]; then
|
||||
sudo pixiecore boot \
|
||||
|
Reference in New Issue
Block a user