summaryrefslogtreecommitdiffstats
path: root/templates/image.plain.bug/include-pci
diff options
context:
space:
mode:
Diffstat (limited to 'templates/image.plain.bug/include-pci')
-rw-r--r--templates/image.plain.bug/include-pci14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/image.plain.bug/include-pci b/templates/image.plain.bug/include-pci
new file mode 100644
index 0000000..e4ad456
--- /dev/null
+++ b/templates/image.plain.bug/include-pci
@@ -0,0 +1,14 @@
+add_pci() {
+ echo '** PCI devices:' >&3
+ if command -v lspci > /dev/null; then
+ lspci -nnvv >&3
+ else
+ echo 'not available' >&3
+ fi
+ echo >&3
+}
+
+ask_pci() {
+ true
+}
+