Merge pull request #806 from dylanaraps/virt

model: Changes to support Virtual Hosts
This commit is contained in:
Dylan Araps 2017-08-17 09:50:18 +10:00 committed by GitHub
commit 9f83da7727
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -344,6 +344,10 @@ get_model() {
model="${model//Default string}"
model="${model//Not Specified}"
model="${model//Type1ProductConfigId}"
case "$model" in
"Standard PC"*) model="KVM/QEMU (${model})" ;;
esac
}
get_title() {