Commit 738ef06d authored by Dylan Araps's avatar Dylan Araps

model: Add support for KVM/QEMU.

parent c108713b
......@@ -9,7 +9,7 @@ print_info() {
info underline
info "OS" distro
info "Model" model
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
......
......@@ -5,8 +5,8 @@ print_info() {
info title
info underline
info "Model" model
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
......
......@@ -342,6 +342,10 @@ get_model() {
model="${model//Default string}"
model="${model//Not Specified}"
model="${model//Type1ProductConfigId}"
case "$model" in
"Standard PC"*) model="KVM/QEMU" ;;
esac
}
get_title() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment