Skip to content

Commit

Permalink
Don't ask for device confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Nov 23, 2023
1 parent 5e4cb2f commit 5da1083
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ the available kernel boot parameters for this modules:
filter or maxdisk and just continues the installation on the given
device. However, the device must exist and must be a block special.

.. note:: Non interactive mode activated by rd.kiwi.oem.installdevice

When setting rd.kiwi.oem.installdevice explicitly on the
kernel commandline, {kiwi} will not ask for confirmation
of the device and just use it !

``rd.live.overlay.size``
Tells a live ISO image the size for the `tmpfs` filesystem that is used
for the `overlayfs` mount process. If the write area of the overlayfs
Expand Down
5 changes: 5 additions & 0 deletions dracut/modules.d/90kiwi-dump/kiwi-dump-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ function get_disk_list {
)
device_size=$(echo "${device_meta}" | cut -f2 -d:)
list_items="${device} ${device_size}"
# activate unattended mode. In case a user explicitly
# provides the device name to deploy the image to via
# the kernel commandline, no further questions if this
# is wanted should appear
export kiwi_oemunattended="true"
fi
if [ -z "${list_items}" ];then
local no_device_text="No device(s) for installation found"
Expand Down

0 comments on commit 5da1083

Please sign in to comment.