1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Make the auto enable hypervisor_service optional

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-17 21:14:45 +10:00
parent 4fcc3a880c
commit 75d384bbe8
8 changed files with 21 additions and 3 deletions

View File

@@ -10,6 +10,9 @@ MEMORY=2048
while [ "$#" -gt 0 ]; do
case $1 in
--debug)
DEBUG=1
;;
--iso)
BOOT_ISO=1
QEMU=0
@@ -160,6 +163,9 @@ if [ "$REBUILD" == "1" ] || [ ! -e ${INITRD} ]; then
fi
KERNEL_ARGS="${DEFAULT_KERNEL_ARGS} ${QEMU_APPEND}"
if [ "$DEBUG" == "1" ]; then
KERNEL_ARGS="${KERNEL_ARGS} rancher.debug=true"
fi
if [ "$FORMAT" == "1" ]; then
KERNEL_ARGS="${KERNEL_ARGS} rancher.state.dev=LABEL=RANCHER_STATE rancher.state.autoformat=[/dev/sda,/dev/vda]"
fi