diff options
Diffstat (limited to 'live_virtual')
-rwxr-xr-x | live_virtual | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/live_virtual b/live_virtual new file mode 100755 index 000000000000..c088ed5e7f57 --- /dev/null +++ b/live_virtual @@ -0,0 +1,18 @@ +#!/bin/bash + +build(){ + map add_module virtio_blk? sd_mod? + # virtio + add_checked_modules 'virtio' +} + +help() { + cat <<HELPEOF +This hook loads the necessary modules for virtual machine block devices. +Detection will take place at runtime. To minimize the modules in the image, add +the autodetect hook too. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: + |