Skip to content

Commit

Permalink
Imporve support for old boot arguments
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany committed Jan 24, 2024
1 parent cfcae7c commit e642e06
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ if getargbool 0 elemental.disable; then
fi

# Omit any immutable rootfs module logic if no image path provided
elemental_image=$(getarg elemental.image=)
[ -z "${elemental_image}" ] && exit 0
cos_img=$(getarg cos-img/filename=)
elemental_img=$(getarg elemental.image=)
[ -z "${cos_img}" && -z "${elemental_img}" ] && exit 0
[ -z "${cos_img}" ] && cos_img="/cOS/${elemental_img}.img"

[ -z "${root}" ] && root=$(getarg root=)

Expand Down

0 comments on commit e642e06

Please sign in to comment.