Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created October 17, 2012 11:52
Show Gist options
  • Save StanAngeloff/3905135 to your computer and use it in GitHub Desktop.
Save StanAngeloff/3905135 to your computer and use it in GitHub Desktop.
Get the product name, useful if you want to verify a piece of code is executed under VirtualBox.
SYSTEM_PRODUCT_NAME = $(shell cat /sys/devices/virtual/dmi/id/product_name 2>/dev/null )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment