aboutsummarylogtreecommitdiffstats
path: root/live_virtual
blob: 656068095b9575cdbfeb7692fa5671bee919bcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

build(){
    map add_module virtio_blk? sr_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: